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)
- EPSS
- 32.1%
- KEV
- Not listed
Published
July 14, 2026
Last Modified
July 14, 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-m44jWeakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 7× in last 7d / 7× 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-15 17:35 UTCEG score recompute
- 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
Explore the affected products and dependency analysis for 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.