Vulnerability record · CVE-2026-59200 · published 14 July 2026
CVE-2026-59200: Python pillow uncontrolled resource consumption vulnerability
Python · Pillow
Pillow is a Python imaging library. From 5.1.0 until 12.3.0, PdfParser.PdfStream.decode() in PIL/PdfParser.py calls zlib.decompress() with bufsize set to the PDF stream Length field without bounding the decompressed output size, allowing a crafted FlateDecode PDF stream to exhaust memory from a small file. This issue is fixed in version 12.3.0.
Description
Pillow is a Python imaging library. From 5.1.0 until 12.3.0, PdfParser.PdfStream.decode() in PIL/PdfParser.py calls zlib.decompress() with bufsize set to the PDF stream Length field without bounding the decompressed output size, allowing a crafted FlateDecode PDF stream to exhaust memory from a small file. This issue is fixed in version 12.3.0.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://github.com/python-pillow/Pillow/commit/f7a31ea75e460e108c37126da1f47812f21f6b09 | Patch |
| https://github.com/python-pillow/Pillow/pull/9718 | Issue TrackingPatch |
| https://github.com/python-pillow/Pillow/releases/tag/12.3.0 | Release Notes |
| https://github.com/python-pillow/Pillow/security/advisories/GHSA-jjj6-mw9f-p565 | ExploitVendor Advisory |
| https://github.com/python-pillow/Pillow/security/advisories/GHSA-jjj6-mw9f-p565 | ExploitVendor Advisory |
Track CVE-2026-59200 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2026-59200), CISA KEV, FIRST EPSS (scores of 2026-09-28). This page is refreshed as NVD updates the record.