CVE-2026-59204
Last modified
CVE-2026-59204 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.40% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Python | Pillow | >= 8.2.0, < 12.3.0 |
References
- https://github.com/python-pillow/Pillow/pull/9704Exploit, Issue Tracking, Patch
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-vjc4-5qp5-m44jExploit, Vendor Advisory
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-vjc4-5qp5-m44jExploit, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2026-59204?
How severe is CVE-2026-59204?
How do I fix CVE-2026-59204?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-59196pnpm is a package manager. Prior to 10.34.4 and 11.7.0, a cr…7.1
- CVE-2026-59197Pillow is a Python imaging library. Prior to 12.3.0, Pillow'…8.2
- CVE-2026-59198Pillow is a Python imaging library. From 5.2.0 until 12.3.0,…7.5
- CVE-2026-59199Pillow is a Python imaging library. Prior to 12.3.0, Pillow …7.5
- CVE-2026-59200Pillow is a Python imaging library. From 5.1.0 until 12.3.0,…7.5
- CVE-2026-59203Pillow is a Python imaging library. From 12.0.0 through 12.2…7.5
- CVE-2026-59205Pillow is a Python imaging library. Prior to 12.3.0, Pillow'…7.5
- CVE-2026-59206n8n is an open source workflow automation platform. Prior to…7.1
- CVE-2026-59207n8n is an open source workflow automation platform. Prior to…6.5
- CVE-2026-59208n8n is an open source workflow automation platform. Prior to…6.8
- CVE-2026-59209n8n is an open source workflow automation platform. Prior to…6.5
- CVE-2026-5921A server-side request forgery (SSRF) vulnerability was ident…8.9
Are you affected by CVE-2026-59204?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
