HIGH 7.5 PyPI
CVE-2026-54060
PYSEC-2026-2254 · BIT-pillow-2026-54060 · CVE-2026-54060 · GHSA-5x94-69rx-g8h2
Published · Modified
AI SAST
Find this class of vulnerability in your own code
Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.
Description
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.
Ready to move
Start Securing
Free, no credit card | First findings in minutes