StraitOfVuln
Latest / CVE-2026-59200

CVE-2026-59200

HighCVSS 7.5 (v3.1)Analyzed
CVE.org ↗NVD ↗Vendor advisory ↗

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.

Details

CVE ID
CVE-2026-59200
Published / updated
14 Jul 2026, 17:17 UTC · last modified 24 Oct 2026, 21:10 UTC
Severity
HIGH
CVSS score
7.5 · v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H · Attack vector: Network
Affected vendor
Affected products
Pillow
Affected versions
Pillow: ≥ 5.1.0, < 12.3.0
Fixed versions
pillow 12.3.0
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
0.39% probability of exploitation in the next 30 days · 35% percentile (03 Dec 2026)
Weakness
Remediation
Upgrade to a fixed release (pillow 12.3.0) per the vendor advisory.
Source (CNA)
security-advisories@github.com