CVE-2026-55379 PUBLISHED

Pillow BdfFontFile`: `Image.new()` called without `_decompression_bomb_check()` — bomb protection bypass via font loading

Assigner: GitHub_M
Reserved: 16.06.2026 Published: 06.07.2026 Updated: 06.07.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS Score: 7.5

Product Status

Vendor python-pillow
Product Pillow
Versions
  • Version < 12.3.0 is affected

References

Problem Types

  • CWE-789: Memory Allocation with Excessive Size Value CWE