VYPR
High severity7.5NVD Advisory· Published Jul 6, 2026· Updated Jul 7, 2026

CVE-2026-54060

CVE-2026-54060

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.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
pillowPyPI
< 12.3.012.3.0

Affected products

26

Patches

Vulnerability mechanics

References

6

News mentions

0

No linked articles in our index yet.