PYSEC-2026-2255

At a glance

Published
Updated
CVE
CVE-2026-55379
Aliases
BIT-pillow-2026-55379, GHSA-45hq-cxwh-f6vc
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/BdfFontFile.py bdf_char() read the BBX width and height field from a BDF font file and passed attacker-controlled dimensions to Image.new() without calling Image._decompression_bomb_check(), bypassing Pillow's documented decompression bomb protection and allowing excessive memory allocation. 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