PYSEC-2026-2254

At a glance

Published
Updated
CVE
CVE-2026-54060
Aliases
BIT-pillow-2026-54060, GHSA-5x94-69rx-g8h2
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

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

PackageVersions
PyPI · pillowintroduced 0, fixed 12.3.0

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — PyPA Advisory Database