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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-54060— Pillow: `FontFile.compile()`: `Image.new()` called without `_decompression_bomb_check()`

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.

Pillow是Pillow组织开源的一款基于Python的图像处理库。 Pillow 12.3.0之前版本存在资源管理错误漏洞,该漏洞源于在组装字体字形图像时未调用Image._decompression_bomb_check(),可能导致转换或保存过程中触发过度内存分配。

CVSS 7.5 · High EPSS 0.64% · P49

Possible ATT&CK Techniques 1 AI

T1496 · Resource Hijacking

Affected Version Matrix 1

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

I. Basic Information for CVE-2026-54060

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: `FontFile.compile()`: `Image.new()` called without `_decompression_bomb_check()`
Source: CVE Program / CVE List V5
Vulnerability Description
Pillow is a Python imaging library. Prior to 12.3.0, PIL/FontFile.py FontFile.compile() assembled per-glyph images into a combined bitmap with Image.new("1", (xsize, ysize)) without calling Image._decompression_bomb_check(), allowing a font to trigger excessive allocation during conversion or saving. 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
Pillow 资源管理错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Pillow是Pillow组织开源的一款基于Python的图像处理库。 Pillow 12.3.0之前版本存在资源管理错误漏洞,该漏洞源于在组装字体字形图像时未调用Image._decompression_bomb_check(),可能导致转换或保存过程中触发过度内存分配。
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 < 12.3.0 -

II. Public POCs for CVE-2026-54060

# POC Description Source Link Shenlong Link
AI-Generated POC Verified env Premium
Qwen3.6-35B-A3B · 10002 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-54060

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

Patches & Fixes for CVE-2026-54060 (1)

Vendor Advisories for CVE-2026-54060 (1)

Vendor Pages for CVE-2026-54060 (1)

Same Patch Batch · python-pillow · 2026-07-06 · 5 CVEs total

CVE-2026-54059 7.5 HIGH Pillow: PcfFontFile._load_bitmaps()`: `Image.frombytes()` called without `_decompression_b
CVE-2026-55380 7.5 HIGH Pillow GdImageFile decompression bomb protection bypass
CVE-2026-55379 7.5 HIGH Pillow BdfFontFile`: `Image.new()` called without `_decompression_bomb_check()` — bomb pro
CVE-2026-55798 4.5 MEDIUM Pillow: WindowsViewer.get_command() OS command injection via unescaped shell path

IV. Related Vulnerabilities

V. Comments for CVE-2026-54060

No comments yet


Leave a comment