Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-59200— Pillow: Decompression Bomb DoS via PdfParser.PdfStream.decode()

Quick assessment

Affected
python-pillow Pillow
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

python-pillow Pillow是python-pillow的图像处理库。 python-pillow Pillow 5.1.0版本至12.3.0之前版本存在资源管理错误漏洞,该漏洞源于PdfParser.PdfStream.decode()函数调用zlib.decompress()时未限制解压输出大小,允许特制的FlateDecode PDF流从较小的文件中耗尽内存。

CVSS 7.5 · High EPSS 0.39% · P30

Possible ATT&CK Techniques 1 AI

T1496 · Resource Hijacking

Affected Version Matrix 1

VendorProduct Version RangeStatus
python-pillow Pillow >= 5.1.0, < 12.3.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-59200

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Pillow: Decompression Bomb DoS via PdfParser.PdfStream.decode()
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
未加控制的资源消耗(资源穷尽)
Source: CVE Program / CVE List V5
Vulnerability Title
python-pillow Pillow 资源管理错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
python-pillow Pillow是python-pillow的图像处理库。 python-pillow Pillow 5.1.0版本至12.3.0之前版本存在资源管理错误漏洞,该漏洞源于PdfParser.PdfStream.decode()函数调用zlib.decompress()时未限制解压输出大小,允许特制的FlateDecode PDF流从较小的文件中耗尽内存。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
python-pillow Pillow >= 5.1.0, < 12.3.0 -

II. Public POCs for CVE-2026-59200

# POC Description Source Link Shenlong Link
AI-Generated POC Verified env Premium
Reproduced successfully in a real sandbox · Below is the actual recording of building the environment and exploiting the vulnerability.
Success marker: VULNERABLE: MemoryError (exit code 1) from unbounded zlib.decompress in PdfParser.PdfStream.decode(); proof token PROOF_39a713bd6a6a8fe3 confirmed: PROOF_39a713bd6a6a8fe3
Reproduction recording is a Pro+ exclusive
Watch the full sandbox build + live exploit recording for this CVE. Limited-time ¥499/mo.
Upgrade to Pro+
claude_code · 9176 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-59200

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-59200 (2)

Vendor Advisories for CVE-2026-59200 (1)

Vendor Pages for CVE-2026-59200 (1)

Same Patch Batch · python-pillow · 2026-07-14 · 8 CVEs total

CVE-2026-59197 8.2 HIGH Pillow: Heap out-of-bounds write in Pillow `ImageFilter.RankFilter` via integer overflow i
CVE-2026-59199 7.5 HIGH Pillow: Heap out-of-bounds write `Image.paste()` / `Image.crop()` via signed coordinate ov
CVE-2026-59205 7.5 HIGH Pillow: Controlled heap out-of-bounds write in `ImageCmsTransform.apply()` via output mode
CVE-2026-59198 6.5 MEDIUM Pillow TGA RLE encoder can serialize up to ~57 KB of adjacent heap data into generated ima
CVE-2026-59203 5.3 MEDIUM Pillow EpsImagePlugin negative %%BeginBinary byte count causes infinite loop denial of ser
CVE-2026-59204 Pillow JPEG2000 tiled decode retains a growing scratch buffer and can be used for denial o
CVE-2026-54058 Pillow: Out-of-bounds read via attacker-controlled row stride on Pillow's mmap path (McIda

IV. Related Vulnerabilities

V. Comments for CVE-2026-59200

No comments yet


Leave a comment