5.5

CVE-2026-42309: Pillow: Heap buffer overflow with nested list coordinates

Analyzed
AliasesGHSA-5xmw-vc9v-4wf2BIT-pillow-2026-42309PYSEC-2026-2251
Published 09-05-2026Last modified 11-05-2026

Vulnerability summary

CVE-2026-42309 is a medium (CVSS 5.5) Heap-based Buffer Overflow vulnerability in python-pillow pillow. EPSS estimates a 0.13% chance of exploitation in the next 30 days, higher than 2.9% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.1, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.5/10
010
Medium · v3.1 (NVD)
EPSS score
0.13%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 1 · Related 2

Timeline

  1. 09-05-2026
    PublishedVulnerability first disclosed.
  2. 11-05-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

10 scores · 7 sources · 2 versions

EPSS trend

Probability

0.13%

Chance of exploitation in the next 30 days

Percentile

3%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.13% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard4 products
  • kubeflow-pipelines-visualization-server< 2.16.1-r0
  • mlflow< 3.16.0-r0
  • open-webui< 0.11.0-r0
  • superset-6.0< 6.0.0-r10
Wolfi4 products
  • kubeflow-pipelines-visualization-server< 2.16.1-r0
  • mlflow< 3.16.0-r0
  • open-webui< 0.11.0-r0
  • superset-6.0< 6.0.0-r10
Debian1 product
  • pillow< 12.2.0-1
PyPI1 product
  • pillow≥ 11.2.1, < 12.2.0
Python1 product
Python-pillow1 product
Ubuntu1 product
  • pillow< 11.3.0-1ubuntu1.3 | < 12.1.1-2ubuntu1.2

7 vendors · 13 products

References

12 links
Show all 12 references