CVE-2026-54060CWE-789
Pillow: `FontFile.compile()`: `Image.new()` called without `_decompression_bomb_check()`
High · published July 6, 2026
What it is
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.
The record
Technical detail
- CVSS v3.1
- 7.5 · HIGH
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS v4.0
- Not supplied
- EPSS
- 0.00418 · 35.1th percentile
- Weakness
- CWE-789 · Memory Allocation with Excessive Size Value
- Published
- 2026-07-06T18:49Z
EPSS history
Timeline