Vulnerability in Python-pillow Pillow

CVE-2026-54060

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 fon…

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-54060?
CVE-2026-54060 is a high-severity vulnerability in Python-pillow Pillow, classified under CWE-789. CVSS score: 7.5/10. Published 2026-07-06.
How severe is CVE-2026-54060?
High severity. CVSS v3 base score is 7.5 out of 10.