Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-42309

published medium CVSS 4.0 · 5.1

Pillow: Heap buffer overflow with nested list coordinates

Published
09 May 2026, 04:08:10 UTC
Updated
11 May 2026, 14:48:18 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
python-pillow — Pillow>= 11.2.1, < 12.2.0 Affected Not stated GitHub_M
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
SUSE / openSUSE SLE-16 python313-Pillowaarch64 Advisory build 11.3.0-160000.5.1 SUSE-SU-2026:21861-1
Ubuntu questing pillow Advisory build 11.3.0-1ubuntu1.3 USN-8399-1
SUSE / openSUSE SLE-16 python313-Pillowppc64le Advisory build 11.3.0-160000.5.1 SUSE-SU-2026:21861-1
SUSE / openSUSE SLE-16 python313-Pillows390x Advisory build 11.3.0-160000.5.1 SUSE-SU-2026:21861-1
SUSE / openSUSE SLE-16 python313-Pillowx86_64 Advisory build 11.3.0-160000.5.1 SUSE-SU-2026:21861-1
Show 17 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE SLE-16 python313-Pillow-tkaarch64 Advisory build 11.3.0-160000.5.1 SUSE-SU-2026:21861-1
SUSE / openSUSE SLE-16 python313-Pillow-tkppc64le Advisory build 11.3.0-160000.5.1 SUSE-SU-2026:21861-1
SUSE / openSUSE SLE-16 python313-Pillow-tks390x Advisory build 11.3.0-160000.5.1 SUSE-SU-2026:21861-1
SUSE / openSUSE SLE-16 python313-Pillow-tkx86_64 Advisory build 11.3.0-160000.5.1 SUSE-SU-2026:21861-1
SUSE / openSUSE openSUSE-Leap-16.0 python313-Pillowaarch64 Advisory build 11.3.0-160000.5.1 OPENSUSE-SU-2026:20831-1
SUSE / openSUSE openSUSE-Leap-16.0 python313-Pillowppc64le Advisory build 11.3.0-160000.5.1 OPENSUSE-SU-2026:20831-1
SUSE / openSUSE openSUSE-Leap-16.0 python313-Pillows390x Advisory build 11.3.0-160000.5.1 OPENSUSE-SU-2026:20831-1
SUSE / openSUSE openSUSE-Leap-16.0 python313-Pillowx86_64 Advisory build 11.3.0-160000.5.1 OPENSUSE-SU-2026:20831-1
SUSE / openSUSE openSUSE-Leap-16.0 python313-Pillow-tkaarch64 Advisory build 11.3.0-160000.5.1 OPENSUSE-SU-2026:20831-1
SUSE / openSUSE openSUSE-Leap-16.0 python313-Pillow-tkppc64le Advisory build 11.3.0-160000.5.1 OPENSUSE-SU-2026:20831-1
SUSE / openSUSE openSUSE-Leap-16.0 python313-Pillow-tks390x Advisory build 11.3.0-160000.5.1 OPENSUSE-SU-2026:20831-1
SUSE / openSUSE openSUSE-Leap-16.0 python313-Pillow-tkx86_64 Advisory build 11.3.0-160000.5.1 OPENSUSE-SU-2026:20831-1
Ubuntu questing python3-pil Advisory build 11.3.0-1ubuntu1.3 USN-8399-1
Ubuntu questing python3-pil.imagetk Advisory build 11.3.0-1ubuntu1.3 USN-8399-1
Ubuntu resolute pillow Advisory build 12.1.1-2ubuntu1.2 USN-8399-1
Ubuntu resolute python3-pil Advisory build 12.1.1-2ubuntu1.2 USN-8399-1
Ubuntu resolute python3-pil.imagetk Advisory build 12.1.1-2ubuntu1.2 USN-8399-1

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.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

4

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
5.1 / 10
Severity
medium
Provider
GitHub_M · cna
Vector string
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

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
python-pillow Pillow >= 11.2.1, < 12.2.0 (affected) GitHub_M · cna

Weaknesses

1
  • CWE-122 CWE-122: Heap-based Buffer Overflow (GitHub_M · cna)

References

2

Provider assertions

2

GitHub_M · cna

Pillow: Heap buffer overflow with nested list coordinates

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
800889e2c291611fe5e35e1466208b5b0dc7a43e4eadf96f51d92c0a2482c7f0
Ingested
23 Sep 2026, 09:14:00 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected