CVE & CISA-KEV Catalog

CVE-2026-42309

MEDIUM
5.5
CVSS v3
NVD

Description

Pillow 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.

How to fix

Remediation Available
pillowDebian
Fixed in:12.2.0-1CVE-2026-42309
registry.redhat.io/rhaiis/model-optRed Hat / RHEL
Fixed in:cuda-rhel9@sha256:b4b70c6ac64d7bc7e967165945867e5b8f9026d3b12bfbcf28bf0fb73fcc57fd_amd64RHSA-2026:16008
Fixed in:cuda-rhel9@sha256:3a2527c5c164fad4d2f0fbda199dcd887e5acaf211fe3cd12dc3aa9f499836c0_arm64RHSA-2026:16008
registry.redhat.io/rhaiis/model-optRocky
Fixed in:cuda-rhel9@sha256:b4b70c6ac64d7bc7e967165945867e5b8f9026d3b12bfbcf28bf0fb73fcc57fd_amd64RHSA-2026:16008
Fixed in:cuda-rhel9@sha256:3a2527c5c164fad4d2f0fbda199dcd887e5acaf211fe3cd12dc3aa9f499836c0_arm64RHSA-2026:16008
registry.redhat.io/rhaiis/vllmRocky
Fixed in:cuda-rhel9@sha256:3aecb1fcf7c282681d9a83ec51fd2fa2ff078567603942466734f55c8294961c_amd64RHSA-2026:16030
Fixed in:cuda-rhel9@sha256:e3c8beb04bd3aa3c14ed0fd1e1bb92cfb697d414b4cb1d537e4d508ca2da60a7_arm64RHSA-2026:16030
Fixed in:rocm-rhel9@sha256:da9b415acbfa49de5960e3d255a1ba0ffad6d0bf67ec1272b1ff70842e819629_amd64RHSA-2026:16009
registry.redhat.io/rhaiis/vllmRed Hat / RHEL
Fixed in:rocm-rhel9@sha256:da9b415acbfa49de5960e3d255a1ba0ffad6d0bf67ec1272b1ff70842e819629_amd64RHSA-2026:16009
Fixed in:cuda-rhel9@sha256:3aecb1fcf7c282681d9a83ec51fd2fa2ff078567603942466734f55c8294961c_amd64RHSA-2026:16030
Fixed in:cuda-rhel9@sha256:e3c8beb04bd3aa3c14ed0fd1e1bb92cfb697d414b4cb1d537e4d508ca2da60a7_arm64RHSA-2026:16030
pillowUbuntu
Fixed in:9.0.1-1ubuntu0.4USN-8399-1
Fixed in:10.2.0-1ubuntu1.2USN-8399-1
Fixed in:11.3.0-1ubuntu1.3USN-8399-1
python3-pilUbuntu
Fixed in:9.0.1-1ubuntu0.4USN-8399-1
Fixed in:10.2.0-1ubuntu1.2USN-8399-1
Fixed in:11.3.0-1ubuntu1.3USN-8399-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Exploit Intelligence

0.13%probability of exploitation in 30 days
3rdpercentile

Low risk: more likely to be exploited than 3% of all known CVEs.

References

Vendor Advisory1
Release Notes1

Related Vulnerabilities

Other CWE-122 (Heap-based Buffer Overflow) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2015-3113Critical9.8100%KEVFix
CVE-2024-26256High7.888%-Fix
CVE-2020-25687Medium5.987%-Fix
CVE-2009-3459High8.886%KEVFix
CVE-2021-21017High8.886%KEV-
CVE-2020-25683Medium5.986%-Fix
Embed a live status badge for CVE-2026-42309
CVE-2026-42309 severity badge

Markdown

[![CVE-2026-42309](https://tridentstack.com/cve/badge/CVE-2026-42309.svg)](https://tridentstack.com/cve/CVE-2026-42309)

HTML

<a href="https://tridentstack.com/cve/CVE-2026-42309"><img src="https://tridentstack.com/cve/badge/CVE-2026-42309.svg" alt="CVE-2026-42309"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-05-12.