עברית

Vulnerability Intelligence

CVE-2026-59200

High 7.5

Published
Last modified
NVD status
Analyzed

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.

Affected products

python: pillow

References5

Metrics

CVSS 3.1
7.5 HIGH Score source: CNA CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS — exploit probability
0% percentile: 33 · as of 15 November 2026
CWE
CWE-400CWE-770

Could this be exploited in your environment?

A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.