Memory Allocation Vulnerability in Pillow Python Imaging Library
CVE-2026-55379
7.5HIGH
What is CVE-2026-55379?
The Pillow Python imaging library contains a vulnerability that allows for excessive memory allocation when processing BDF font files. In versions prior to 12.3.0, the bdf_char() function reads width and height fields from a BDF font file and passes these dimensions directly to Image.new() without proper checks. This omission bypasses Pillow's decompression bomb protection mechanism, thereby making the application susceptible to denial-of-service attacks through manipulated font files. Users are encouraged to upgrade to version 12.3.0 or later to safeguard against this issue.
Affected Version(s)
Pillow < 12.3.0
