Pillow is a Python imaging library. From 8.2.0 through 12.2.0, src/libImaging/Jpeg2KDecode.c accumulates total_component_width across every tile in a JPEG2000 image instead of recomputing it per tile, allowing a crafted tiled JPEG2000 file to force substantially higher transient memory usage and trigger out-of-memory failures during decoding. This issue is fixed in version 12.3.0.
CVE-2026-59204
This high-severity CVE scores 7.5 under NVD CVSS v3. EPSS exploit probability: 0.4%, top 68% 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).
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 7.5
- EG Score
- 7.5(medium)
- EG Risk
- 65(Attend)EG Risk 65/100SSVC: Attend
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity75% × 45%Exploitation40% × 40%Automatability100% × 15%Action: Remediate soon — notable exploitation risk. - EPSS
- 32.4%
- KEV
- Not listed
Published
July 14, 2026
Last Modified
July 21, 2026
Advisory Details (4)
Auto-updated Jul 14, 202612.3.0
Patch available: python-pillow/Pillow 12.3.0
https://github.com/python-pillow/Pillow/releases/tag/12.3.0commit 13ada4117214 (python-pillow/Pillow)
Patch available: python-pillow/Pillow 12.3.0 (contains commit 13ada4117214)
https://github.com/python-pillow/Pillow/commit/13ada41172142f2fd9f0906f615a00ea623a11caCalculate JPEG2000 total_component_width for each tile in isolation
Patch available: python-pillow/Pillow 12.3.0 (PR #9704 merged 2026-06-22)
https://github.com/python-pillow/Pillow/pull/9704Pillow JPEG2000 tiled decode retains a growing scratch buffer and can be used for denial of service · Advisory · python-pillow/Pillow · GitHub
https://github.com/python-pillow/Pillow/security/advisories/GHSA-vjc4-5qp5-m44jVendor Advisories for CVE-2026-59204(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(1 across 1 ecosystem)
PyPI(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| pillow | 10.0.0 ... 9.5.0 (27 versions) | 12.3.0 | — |
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 10× in last 7d / 16× 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.
- 2026-07-23 03:21 UTCEG score recompute
- 2026-07-22 14:08 UTCEPSS rescore
- 2026-07-22 14:08 UTCEPSS rescore
- 2026-07-21 15:25 UTCEPSS rescore
- 2026-07-21 15:25 UTCEPSS rescore
- 2026-07-20 17:08 UTCEPSS rescore
- 2026-07-19 14:31 UTCEPSS rescore
- 2026-07-19 02:29 UTCEPSS rescore
- 2026-07-18 10:04 UTCEPSS rescore
- 2026-07-16 17:03 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 16:57 UTCEPSS rescore
- 2026-07-15 04:43 UTCEG score recompute▼ 1.20
- 2026-07-14 21:22 UTCNVD updateCVSS v3 → 7.5
- 2026-07-14 15:41 UTCEG score recompute
- 2026-07-14 15:40 UTCMITRE cvelistV5first tracked
Frequently asked(5)
What is CVE-2026-59204?
When was CVE-2026-59204 disclosed?
Is CVE-2026-59204 actively exploited?
What is the CVSS score of CVE-2026-59204?
How do I remediate CVE-2026-59204?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-59204
Is Your Infrastructure Affected by CVE-2026-59204?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.