{"cve":"CVE-2026-59204","nvd":{"published":"2026-07-14T16:17:02.227","modified":"2026-10-24T21:10:00.130","status":"Modified","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.","cvss_v4":{"vector":"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","score":8.7},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-770","CWE-789"],"references":["https://github.com/python-pillow/Pillow/commit/13ada41172142f2fd9f0906f615a00ea623a11ca","https://github.com/python-pillow/Pillow/pull/9704","https://github.com/python-pillow/Pillow/releases/tag/12.3.0","https://github.com/python-pillow/Pillow/security/advisories/GHSA-vjc4-5qp5-m44j","https://github.com/python-pillow/Pillow/security/advisories/GHSA-vjc4-5qp5-m44j"],"products":["python:pillow"],"source":"nvd","synced_at":"2026-10-25T17:50:06.907763985+00:00"},"epss":{"cve":"CVE-2026-59204","score":0.00385,"percentile":0.32324,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-vjc4-5qp5-m44j","url":"https://osv.dev/vulnerability/GHSA-vjc4-5qp5-m44j","summary":"Pillow JPEG2000 tiled decode retains a growing scratch buffer and can be used for denial of service","modified":"2026-09-10T03:50:53.107920034Z","packages":[{"ecosystem":"PyPI","name":"pillow","purl":"pkg:pypi/pillow","ranges":[">=8.2.0 <12.3.0"],"fixed":["12.3.0"]}]},{"id":"PYSEC-2026-3496","url":"https://osv.dev/vulnerability/PYSEC-2026-3496","summary":"Pillow JPEG2000 tiled decode retains a growing scratch buffer and can be used for denial of service","modified":"2026-07-23T15:11:20.720915099Z","packages":[{"ecosystem":"PyPI","name":"pillow","purl":"pkg:pypi/pillow","ranges":[">=8.2.0 <12.3.0"],"fixed":["12.3.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}