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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-54059— Pillow: PcfFontFile._load_bitmaps()`: `Image.frombytes()` called without `_decompression_bomb_check()` — bomb protection bypass via PCF font loading

CVSS 7.5 · High EPSS 0.35% · P27

Possible ATT&CK Techniques 1AI

T1190 · Exploit Public-Facing Application

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-54059

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: PcfFontFile._load_bitmaps()`: `Image.frombytes()` called without `_decompression_bomb_check()` — bomb protection bypass via PCF font loading
Source: NVD (National Vulnerability Database)
Vulnerability Description
Pillow is a Python imaging library. Prior to 12.3.0, PIL/PcfFontFile.py _load_bitmaps() read glyph dimensions from the PCF METRICS section and passed them directly to Image.frombytes() without calling Image._decompression_bomb_check(), allowing crafted PCF font data to cause excessive memory allocation. 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之前版本存在资源管理错误漏洞,该漏洞源于在 PCF 文件中读取字符尺寸时未调用 decompression bomb check,可能导致特制 PCF 字体数据造成内存过度分配。
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-54059

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium
Qwen3.6-35B-A3B · 12190 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-54059

登录查看更多情报信息。

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

Vendor Advisories for CVE-2026-54059 (1)

Vendor Pages for CVE-2026-54059 (1)

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

CVE-2026-540607.5 HIGHPillow: `FontFile.compile()`: `Image.new()` called without `_decompression_bomb_check()`
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-54059

No comments yet


Leave a comment