๐Ÿ” CVE Alert

CVE-2026-54059

HIGH 7.5

Pillow: PcfFontFile._load_bitmaps()`: `Image.frombytes()` called without `_decompression_bomb_check()` โ€” bomb protection bypass via PCF font loading

CVSS Score
7.5
EPSS Score
0.3%
EPSS Percentile
25th

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.

CWE CWE-789
Vendor python-pillow
Product pillow
Published Jul 6, 2026
Last Updated Jul 7, 2026
Stay Ahead of the Next One

Get instant alerts for python-pillow pillow

Be the first to know when new high vulnerabilities affecting python-pillow pillow are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Affected Versions

python-pillow / Pillow
< 12.3.0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/python-pillow/Pillow/security/advisories/GHSA-8v84-f9pq-wr9x github.com: https://github.com/python-pillow/Pillow/commit/0a263e6264aa5399988d9acd3bbfbca2ca3ec77d github.com: https://github.com/python-pillow/Pillow/blob/main/docs/releasenotes/12.3.0.rst