{"schema_version":"1.9.0","id":"BIT-pillow-2026-59204","published":"2026-07-15T08:55:00.989Z","modified":"2026-09-08T08:48:18.536773495Z","aliases":["CVE-2026-59204","GHSA-vjc4-5qp5-m44j","PYSEC-2026-3496"],"summary":"Pillow JPEG2000 tiled decode retains a growing scratch buffer and can be used for denial of service","details":"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.","affected":[{"package":{"name":"pillow","ecosystem":"Bitnami","purl":"pkg:bitnami/pillow"},"ranges":[{"type":"SEMVER","events":[{"introduced":"8.2.0"},{"fixed":"12.3.0"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/pillow/BIT-pillow-2026-59204.json"},"severity":[{"type":"CVSS_V4","score":"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"}]}],"references":[{"type":"FIX","url":"https://github.com/python-pillow/Pillow/commit/13ada41172142f2fd9f0906f615a00ea623a11ca"},{"type":"FIX","url":"https://github.com/python-pillow/Pillow/pull/9704"},{"type":"ARTICLE","url":"https://github.com/python-pillow/Pillow/releases/tag/12.3.0"},{"type":"ADVISORY","url":"https://github.com/python-pillow/Pillow/security/advisories/GHSA-vjc4-5qp5-m44j"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59204"}],"database_specific":{"cpes":["cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*"],"severity":"High"}}