Vulnerability Details 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 crafted FlateDecode PDF stream to exhaust memory from a small file. This issue is fixed in version 12.3.0.
Exploit prediction scoring system (EPSS) score
EPSS Score 0.004
EPSS Ranking 27.4%
CVSS Severity
CVSS v3 Score 7.5
Products affected by CVE-2026-59200
-
cpe:2.3:a:python:pillow:10.0.0
-
cpe:2.3:a:python:pillow:10.0.1
-
cpe:2.3:a:python:pillow:10.1.0
-
cpe:2.3:a:python:pillow:10.2.0
-
cpe:2.3:a:python:pillow:10.3.0
-
cpe:2.3:a:python:pillow:10.4.0
-
cpe:2.3:a:python:pillow:11.0.0
-
cpe:2.3:a:python:pillow:11.1.0
-
cpe:2.3:a:python:pillow:11.2.1
-
cpe:2.3:a:python:pillow:11.3.0
-
cpe:2.3:a:python:pillow:12.0.0
-
cpe:2.3:a:python:pillow:5.1.0
-
cpe:2.3:a:python:pillow:5.2.0
-
cpe:2.3:a:python:pillow:5.3.0
-
cpe:2.3:a:python:pillow:5.4.0
-
cpe:2.3:a:python:pillow:5.4.1
-
cpe:2.3:a:python:pillow:6.0.0
-
cpe:2.3:a:python:pillow:6.2.0
-
cpe:2.3:a:python:pillow:6.2.2
-
cpe:2.3:a:python:pillow:6.2.3
-
cpe:2.3:a:python:pillow:7.0.0
-
cpe:2.3:a:python:pillow:7.1.0
-
cpe:2.3:a:python:pillow:7.1.1
-
cpe:2.3:a:python:pillow:7.1.2
-
cpe:2.3:a:python:pillow:7.2.0
-
cpe:2.3:a:python:pillow:8.0.0
-
cpe:2.3:a:python:pillow:8.0.1
-
cpe:2.3:a:python:pillow:8.1.0
-
cpe:2.3:a:python:pillow:8.1.1
-
cpe:2.3:a:python:pillow:8.1.2
-
cpe:2.3:a:python:pillow:8.2.0
-
cpe:2.3:a:python:pillow:8.3.0
-
cpe:2.3:a:python:pillow:8.3.1
-
cpe:2.3:a:python:pillow:8.3.2
-
cpe:2.3:a:python:pillow:8.4.0
-
cpe:2.3:a:python:pillow:9.0.0
-
cpe:2.3:a:python:pillow:9.0.1
-
cpe:2.3:a:python:pillow:9.1.0
-
cpe:2.3:a:python:pillow:9.1.1
-
cpe:2.3:a:python:pillow:9.2.0
-
cpe:2.3:a:python:pillow:9.3.0
-
cpe:2.3:a:python:pillow:9.4.0
-
cpe:2.3:a:python:pillow:9.5.0