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

Goal: 1000 CNY · Raised: 1336 CNY

100%

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

CVSS 7.5 · High EPSS 0.36% · P28

Possible ATT&CK Techniques 1AI

T1496 · Resource Hijacking

Affected Version Matrix 1

VendorProductVersion RangeStatus
python-pillowPillow< 12.3.0affected
Get alerts for future matching vulnerabilitiesLog 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: NVD (National Vulnerability Database)
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: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Source: NVD (National Vulnerability Database)
Vulnerability Type
未经控制的内存分配
Source: NVD (National Vulnerability Database)
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

VendorProductAffected VersionsCPESubscribe
python-pillowPillow < 12.3.0 -

II. Public POCs for CVE-2026-54060

#POC DescriptionSource LinkShenlong Link
AI-Generated POCVerified 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-540597.5 HIGHPillow: PcfFontFile._load_bitmaps()`: `Image.frombytes()` called without `_decompression_b
CVE-2026-553807.5 HIGHPillow GdImageFile decompression bomb protection bypass
CVE-2026-553797.5 HIGHPillow BdfFontFile`: `Image.new()` called without `_decompression_bomb_check()` — bomb pro
CVE-2026-557984.5 MEDIUMPillow: 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