CVE-2026-54059
HIGHPillow: PcfFontFile._load_bitmaps()`: `Image.frombytes()` called without `_decompression_bomb_check()` — bomb protection bypass via PCF font loading
Title source: cnaDescription
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.
References (3)
Core 3
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/python-pillow/Pillow/security/advisories/GHSA-8v84-f9pq-wr9x
X_Refsource_Misc x_refsource_misc
https://github.com/python-pillow/Pillow/commit/0a263e6264aa5399988d9acd3bbfbca2ca3ec77d
X_Refsource_Misc x_refsource_misc
https://github.com/python-pillow/Pillow/blob/main/docs/releasenotes/12.3.0.rst
Scores
CVSS v3
7.5
EPSS
0.0035
EPSS Percentile
27.5%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-789
Status
published
Products (2)
python/pillow
< 12.3.0
python-pillow/Pillow
< 12.3.0
Published
Jul 06, 2026
Tracked Since
Jul 07, 2026