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

CVE-2026-54059

CVE-2026-54059

Description

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.

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.