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.
CVE-2026-42309
This medium-severity CVE scores 5.5 under NVD CVSS v3. EPSS exploit probability: 0.1%, top 97% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
A fix is available — apply it.
- CVSS v3
- 5.5
- EG Score
- 5.5(medium)
- EPSS
- 3.2%
- KEV
- Not listed
Published
May 9, 2026
Last Modified
May 12, 2026
Advisory Details (2)
Auto-updated May 9, 2026Heap buffer overflow with nested list coordinates · Advisory · python-pillow/Pillow · GitHub
https://github.com/python-pillow/Pillow/security/advisories/GHSA-5xmw-vc9v-4wf2Release 12.2.0 · python-pillow/Pillow · GitHub
https://github.com/python-pillow/Pillow/releases/tag/12.2.0Vendor Advisories for CVE-2026-42309(3)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2026:16030Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat AI Inference Server 3.3.3 (CUDA)
- RHSA-2026:16009Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat AI Inference Server 3.3.3 (ROCm)
- RHSA-2026:16008Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat AI Inference Server Model Optimization Tools 3.3.3 (CUDA)
Patch Availability(4)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | python3-pil.imagetk (12.1.1-2ubuntu1.2) @ resolute | 2026-06-28 | ubuntu |
| redhat | rhaiis/model-opt-cuda-rhel9:1778244559 | 2026-05-11 | redhat |
| redhat | rhaiis/vllm-rocm-rhel9:1778244531 | 2026-05-11 | redhat |
| redhat | rhaiis/vllm-cuda-rhel9:1778274666 | 2026-05-11 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(1 across 1 ecosystem)
PyPI(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| pillow | 11.2.1, 11.3.0, 12.0.0, 12.1.0, 12.1.1 | 12.2.0 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(1)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
Data Freshness Timeline
(refreshed 9× in last 7d / 42× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 118 total refreshes for this CVE.
- 2026-07-16 17:03 UTCEPSS rescore
- 2026-07-16 03:53 UTCOSV refresh
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 02:00 UTCEPSS rescore
- 2026-07-13 22:30 UTCEPSS rescore
- 2026-07-13 06:13 UTCEPSS rescore
- 2026-07-12 05:46 UTCEPSS rescore
- 2026-07-11 08:27 UTCEPSS rescore
- 2026-07-09 19:10 UTCEPSS rescore
- 2026-07-08 15:15 UTCEPSS rescore
- 2026-07-07 13:46 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-28 03:43 UTCEG score recompute
- 2026-06-28 03:43 UTCVendor advisory
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-26 21:13 UTCEG score recompute
Show 75 moreShow fewer
- 2026-06-26 21:13 UTCVendor advisory
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-24 14:05 UTCEPSS rescore
- 2026-06-23 21:33 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 01:59 UTCEPSS rescore
- 2026-06-19 19:25 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-17 17:53 UTCEPSS rescore
- 2026-06-17 06:03 UTCEG score recompute
- 2026-06-17 06:03 UTCVendor advisory
- 2026-06-16 17:52 UTCEPSS rescore
- 2026-06-16 07:52 UTCEG score recompute
- 2026-06-16 07:52 UTCVendor advisory
- 2026-06-15 17:49 UTCEPSS rescore
- 2026-06-15 00:32 UTCEG score recompute
- 2026-06-15 00:32 UTCVendor advisory
- 2026-06-14 02:22 UTCEG score recompute
- 2026-06-14 02:22 UTCVendor advisory
- 2026-06-13 23:00 UTCEPSS rescore
- 2026-06-12 23:12 UTCEPSS rescore
- 2026-06-12 23:12 UTCEPSS rescore
- 2026-06-12 14:15 UTCEG score recompute
- 2026-06-12 14:15 UTCVendor advisory
- 2026-06-11 15:15 UTCEG score recompute
- 2026-06-11 15:15 UTCVendor advisory
- 2026-06-11 14:00 UTCEPSS rescore
- 2026-06-10 22:18 UTCEPSS rescore
- 2026-06-10 16:54 UTCEG score recompute
- 2026-06-10 16:54 UTCVendor advisory
- 2026-06-10 13:22 UTCEPSS rescore
- 2026-06-10 13:22 UTCEPSS rescore
- 2026-06-09 18:43 UTCEG score recompute
- 2026-06-09 18:43 UTCVendor advisory
- 2026-06-08 20:33 UTCEG score recompute
- 2026-06-08 20:33 UTCVendor advisory
- 2026-06-08 14:17 UTCEPSS rescore
- 2026-06-08 14:17 UTCEPSS rescore
- 2026-06-07 19:13 UTCEG score recompute
- 2026-06-07 19:13 UTCVendor advisory
- 2026-06-07 15:25 UTCEPSS rescore
- 2026-06-07 15:25 UTCEPSS rescore
- 2026-06-06 21:03 UTCEG score recompute
- 2026-06-06 21:03 UTCVendor advisory
- 2026-06-06 13:47 UTCEPSS rescore
- 2026-06-06 13:47 UTCEPSS rescore
- 2026-06-05 22:50 UTCEG score recompute
- 2026-06-05 22:50 UTCVendor advisory
- 2026-06-05 22:47 UTCEPSS rescore
- 2026-06-05 06:10 UTCEPSS rescore
- 2026-06-05 06:10 UTCEPSS rescore
- 2026-06-05 00:36 UTCEG score recompute
- 2026-06-05 00:36 UTCVendor advisory
- 2026-06-04 13:12 UTCEPSS rescore
- 2026-06-04 13:12 UTCEPSS rescore
- 2026-06-04 02:02 UTCEG score recompute
- 2026-06-04 02:02 UTCVendor advisory
- 2026-06-03 03:52 UTCEG score recompute
- 2026-06-03 03:52 UTCVendor advisory
- 2026-06-02 20:13 UTCEPSS rescore
- 2026-06-02 05:40 UTCEG score recompute
- 2026-06-02 05:40 UTCVendor advisory
- 2026-06-01 13:52 UTCEPSS rescore
- 2026-06-01 13:52 UTCEPSS rescore
- 2026-06-01 07:26 UTCEG score recompute
- 2026-06-01 07:26 UTCVendor advisory
- 2026-05-31 22:30 UTCEPSS rescore
- 2026-05-31 22:30 UTCEPSS rescore
- 2026-05-31 00:16 UTCEPSS rescore
- 2026-05-31 00:16 UTCEPSS rescore
Related CVEs(same vendor + same CWE)
Same vendor
10 shownredhat
Same CWE
10 shownCWE-122
Frequently asked(5)
What is CVE-2026-42309?
When was CVE-2026-42309 disclosed?
Is CVE-2026-42309 actively exploited?
What is the CVSS score of CVE-2026-42309?
How do I remediate CVE-2026-42309?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-42309
Is Your Infrastructure Affected by CVE-2026-42309?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.