Resource exhaustion in Python-pillow Pillow
CVE-2026-59200
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…
Vulnerability class: DoS (Denial of Service)
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
Affected products
- Python-pillow Pillow — versions >= 5.1.0, < 12.3.0
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM)
- security-advisories@github.com (x_refsource_MISC)
- security-advisories@github.com (x_refsource_MISC)
- security-advisories@github.com (x_refsource_MISC)
Frequently asked questions
- What is CVE-2026-59200?
- CVE-2026-59200 is a high-severity vulnerability in Python-pillow Pillow, classified under Uncontrolled Resource Consumption. CVSS score: 7.5/10. Published 2026-07-14.
- How severe is CVE-2026-59200?
- High severity. CVSS v3 base score is 7.5 out of 10.