CVE Explorer
CVE-2026-59204
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"Pillow","vendor":"python-pillow","versions":[{"status":"affected","version":">= 8.2.0, < 12.3.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:05e77712a64401c49c2ede30166ed5153ac4085d7e321461cb18e23372948351 · sha256:801f3df44292107c… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":8.7,"baseSeverity":"HIGH","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:05e77712a64401c49c2ede30166ed5153ac4085d7e321461cb18e23372948351 · sha256:801f3df44292107c… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-789","description":"CWE-789: Memory Allocation with Excessive Size Value","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:05e77712a64401c49c2ede30166ed5153ac4085d7e321461cb18e23372948351 · sha256:801f3df44292107c… · /containers/cna/problemTypes/0/descriptions/0
Source references
5 source assertions{"name":"https://github.com/python-pillow/Pillow/commit/13ada41172142f2fd9f0906f615a00ea623a11ca","tags":["x_refsource_MISC"],"url":"https://github.com/python-pillow/Pillow/commit/13ada41172142f2fd9f0906f615a00ea623a11ca"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:05e77712a64401c49c2ede30166ed5153ac4085d7e321461cb18e23372948351 · sha256:801f3df44292107c… · /containers/cna/references/2
{"name":"https://github.com/python-pillow/Pillow/pull/9704","tags":["x_refsource_MISC"],"url":"https://github.com/python-pillow/Pillow/pull/9704"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:05e77712a64401c49c2ede30166ed5153ac4085d7e321461cb18e23372948351 · sha256:801f3df44292107c… · /containers/cna/references/1
{"name":"https://github.com/python-pillow/Pillow/releases/tag/12.3.0","tags":["x_refsource_MISC"],"url":"https://github.com/python-pillow/Pillow/releases/tag/12.3.0"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:05e77712a64401c49c2ede30166ed5153ac4085d7e321461cb18e23372948351 · sha256:801f3df44292107c… · /containers/cna/references/3
{"name":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-vjc4-5qp5-m44j","tags":["x_refsource_CONFIRM"],"url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-vjc4-5qp5-m44j"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:05e77712a64401c49c2ede30166ed5153ac4085d7e321461cb18e23372948351 · sha256:801f3df44292107c… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-vjc4-5qp5-m44j"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:05e77712a64401c49c2ede30166ed5153ac4085d7e321461cb18e23372948351 · sha256:801f3df44292107c… · /containers/adp/0/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.