CVE-2026-42309
python pillow
Patch priority
RegularFix with the next regular update.
- CVSS
- 5.5
- Severity
- 5.5
- EPSS
- 0.1 %
- Percentile
- 3
- Actively exploited
- not known
The traffic light combines CVSS (severity), EPSS (exploitation probability, FIRST) and CISA's KEV catalog. It does not replace your own assessment. More in the glossary
What do I need to do?
in plain wordsWho is affected?
Only those who run python pillow. The vendor name tells you whether the product is in use at your place.
How dangerous is it?
- An attacker already needs access to the device (or gets you to open a file).
- The attacker must already be logged in – this lowers the risk.
What to do?
- Include it in your next regular update.
- The vendor’s advisories (linked below) name the fixed version.
Generated automatically from the CVSS vector, KEV and EPSS – does not replace the vendor’s information. Terms explained
Description
NVDPillow is a Python imaging library. From version 11.2.1 to before version 12.2.0, passing nested lists as coordinates to APIs that accept coordinates such as ImagePath.Path, ImageDraw.ImageDraw.polygon and ImageDraw.ImageDraw.line could cause a heap buffer overflow, as nested lists were recursively unpacked beyond the allocated buffer. Coordinate lists are now validated to contain exactly two numeric coordinates. This issue has been patched in version 12.2.0.
- Vendor / product
- python pillow
- Published
- 09.05.2026
- Modified
- 24.07.2026
- CWE
- CWE-122
- Status
- Analyzed
CVSS v3.1 · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Vendor updates
7- Microsoft: Mariner 16.11.2026 · Medium · Patch day
- Red Hat: RHSA-2026:57387 – RHSA-2026:57387 registry.redhat.io/rhaii/vllm-spyre-rhel9@sha256:b35ecb302c7f4e270f44bf70b7f7f8d053eb74761b1104fea346af9a8 … 20.08.2026 · Patch day
- Ubuntu: USN-8399-1 – Pillow vulnerabilities 08.06.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:21861-1 – Security update for python-Pillow 01.06.2026 · HIGH · Patch day
- Red Hat: RHSA-2026:16030 – RHSA-2026:16030 registry.redhat.io/rhaiis/vllm-cuda-rhel9@sha256:3aecb1fcf7c282681d9a83ec51fd2fa2ff078567603942466734f55c8 … 11.05.2026 · Patch day
- Red Hat: RHSA-2026:16009 – RHSA-2026:16009 registry.redhat.io/rhaiis/vllm-rocm-rhel9@sha256:da9b415acbfa49de5960e3d255a1ba0ffad6d0bf67ec1272b1ff70842 … 11.05.2026 · Patch day
- Red Hat: RHSA-2026:16008 – RHSA-2026:16008 registry.redhat.io/rhaiis/model-opt-cuda-rhel9@sha256:b4b70c6ac64d7bc7e967165945867e5b8f9026d3b12bfbcf28bf … 11.05.2026 · Patch day
Sources: NVD (NIST), CISA KEV, EPSS (FIRST.org), vendors and authorities. No warranty.