Skip to content
OpenAdvisories
High SUSE-SU-2026:2875-1 4 CVEs

Security update for python-Pillow

Published Jul 13, 2026 · Updated Jul 14, 2026

Summary

This update for python-Pillow fixes the following issues

- CVE-2026-54059: crafted PCF font data can cause excessive memory allocation (bsc#1270409).
- CVE-2026-54060: a font can trigger excessive allocation during conversion or saving (bsc#1270410).
- CVE-2026-55379: bypass of decompression bomb protection, allowing excessive memory allocation (bsc#1270411).
- CVE-2026-55380: crafted .gd file can trigger excessive C-heap allocation when loaded (bsc#1270412).

Fixed packages 1

ReleasePackageFixed in
SUSE · SLES 15 SP7 Linux Enterprise Module for Package Hub 15 SP7 python-Pillow 7.2.0-150300.3.27.1

Vulnerabilities 4

  • High 7.5

    Pillow: PcfFontFile._load_bitmaps()`: `Image.frombytes()` called without `_decompression_bomb_check()` — bomb protection bypass via PCF font loading

    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 fo…

  • High 7.5

    Pillow: `FontFile.compile()`: `Image.new()` called without `_decompression_bomb_check()`

    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 excessi…

  • High 7.5

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

    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 P…

  • High 7.5

    Pillow GdImageFile decompression bomb protection bypass

    Pillow is a Python imaging library. Prior to 12.3.0, PIL/GdImageFile.py GdImageFile._open() read image dimensions from the GD 2.x header and stored them in self._size without calling Image._decompression_bomb_check(), allowing a crafted .gd file to trigger ex…

References

  • report
    https://bugzilla.suse.com/1270409
  • report
    https://bugzilla.suse.com/1270410
  • report
    https://bugzilla.suse.com/1270411
  • report
    https://bugzilla.suse.com/1270412
  • web
    https://www.suse.com/security/cve/CVE-2026-54059
  • web
    https://www.suse.com/security/cve/CVE-2026-54060
  • web
    https://www.suse.com/security/cve/CVE-2026-55379
  • web
    https://www.suse.com/security/cve/CVE-2026-55380