Skip to content
Fencer Vulns
medium 5.5

CVE-2026-42308 json

Pillow: Integer overflow when processing fonts

published 2026-05-04 6 mo ago modified 2026-09-10 1 mo ago also BIT-pillow-2026-42308 , EUVD-2026-28900 , GHSA-wjx4-4jcj-g98j , PYSEC-2026-165

cvss
5.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.1%
EPSS 0.1% chance of exploitation in 30 days, percentile 1%
public exploits
0
none known

Summary

Pillow is a Python imaging library. Prior to version 12.2.0, if a font advances for each glyph by an exceeding large amount, when Pillow keeps track of the current position, it may lead to an integer overflow. This issue has been patched in version 12.2.0.

Patch / fix

  • pypi pillow 12.2.0
  • bitnami pillow 12.2.0
  • python pillow 12.2.0
  • pillow Debian 13 11.1.0-5+deb13u3
  • pillow Debian 14 12.2.0-1

debian advisories DEBIAN-CVE-2026-42308

  • pillow Ubuntu 22.04 LTS 9.0.1-1ubuntu0.4
  • pillow Ubuntu 24.04 LTS 10.2.0-1ubuntu1.2
  • pillow Ubuntu 25.10 11.3.0-1ubuntu1.3
  • pillow Ubuntu 26.04 LTS 12.1.1-2ubuntu1.2

ubuntu advisories UBUNTU-CVE-2026-42308

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-42308 updated cvss 6.2

Pillow: Pillow: Denial of Service via integer overflow in font processing

  • Red Hat Exploit Intelligence exploit-intelligence-tech-preview/vulnerability-analysis-rhel9 Red Hat OpenShift Lightspeed openshift-lightspeed/lightspeed-ocp-rag-rhel9, openshift-lightspeed/lightspeed-service-api-rhel9 Red Hat Pen Drive Powered by Red Hat Lightspeed pen-drive/pen-drive-scanner-rhel9 Red Hat AI Inference Server rhaiis/vllm-cpu-rhel9, rhaiis/vllm-tpu-rhel9, rhaiis/vllm-spyre-rhel9, rhaiis/vllm-neuron-rhel9 Red Hat Ansible Automation Platform 2 python-pillow, ansible-automation-platform-26/hub-rhel9, ansible-automation-platform/automation-dashboard-rhel9, ansible-automation-platform-25/lightspeed-chatbot-rhel8, ansible-automation-platform-26/lightspeed-chatbot-rhel9 Red Hat Enterprise Linux 6 python, tkinter, python-libs, python-test, python-tools
    +2 more products
    Red Hat Enterprise Linux 7 python, python3, tkinter, python-libs, python-test, python-tools, +8 more Red Hat Enterprise Linux 8 numpy, scipy, PyYAML, python3, mod_wsgi, python36, +92 more
    affected: workaround, no fix available “Fix deferred”
  • Red Hat Enterprise Linux 9 python3, python3.9, python3.11, python3.12, python3.14, python3-idle, +21 more
    affected: workaround, no fix available, no fix planned “Out of support scope”
  • Red Hat Enterprise Linux 10 python3.12, python3.14 Red Hat Enterprise Linux AI (RHEL AI) 3 rhelai3/bootc-cuda-rhel9, rhelai3/bootc-rocm-rhel9, rhelai3/bootc-aws-cuda-rhel9, rhelai3/bootc-gcp-cuda-rhel9, rhelai3/disk-image-cuda-rhel9, rhelai3/bootc-azure-cuda-rhel9, +1 more Red Hat OpenShift AI (RHOAI) rhoai/odh-mlflow-rhel9, rhoai/odh-vllm-cuda-rhel9, rhoai/odh-vllm-rocm-rhel9, rhoai/odh-caikit-nlp-rhel9, rhoai/odh-vllm-gaudi-rhel9, rhoai/odh-kserve-agent-rhel9, +25 more Red Hat OpenShift Dev Spaces devspaces/code-rhel9, devspaces/pluginregistry-rhel9 Red Hat Quay 3 quay/quay-rhel8, quay/quay-rhel9 Red Hat Satellite 6 python-pillow
    affected: workaround, no fix available “Fix deferred”
  • Red Hat AI Inference Server 3.3 rhaiis 1778244531, rhaiis 1778244559, rhaiis 1778274666
    fixed: vendor fix RHSA-2026:16008
  • Red Hat AI Inference Server 3.4 rhaii/vllm-spyre-rhel9 1787151840
    fixed: vendor fix RHSA-2026:57387

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
5 mo ago

Exploit prediction

0.11% chance of exploitation in the next 30 days, higher than 1% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 4.0 5.1 CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
GitHub 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CNA 4.0 5.1 CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
NVD 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
OSV 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
pypi pillow
<12.2.0
12.2.0
bitnami pillow
<12.2.0
12.2.0

Affected products

  • python-pillow Pillow

Classification

Weakness
  • CWE-190 Integer Overflow or Wraparound

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.