Skip to content
OpenAdvisories
High SUSE-SU-2026:22626-1 5 CVEs

Security update for python-Pillow

Published Jul 10, 2026 · Updated Jul 17, 2026

Summary

This update for python-Pillow fixes the following issues

- CVE-2026-42311: malicious PSD file processing can lead to arbitrary code execution (bsc#1270404).
- CVE-2026-54059: crafted PCF font data can cause excessive memory allocation (bsc#1270409).
- CVE-2026-54060: fonts can trigger excessive memory allocation during conversion or saving (bsc#1270410).
- CVE-2026-55379: bypass of decompression bomb protection allows excessive memory allocation (bsc#1270411).
- CVE-2026-55380: crafted `.gd` file can trigger excessive C-heap allocation when loaded (bsc#1270412).

Fixed packages 2

ReleasePackageFixed in
SUSE · SLES 16.0 Linux Enterprise Server 16.0 python-Pillow 11.3.0-160000.6.1
SUSE · SLES for SAP 16.0 Linux Enterprise Server for SAP applications 16.0 python-Pillow 11.3.0-160000.6.1

Vulnerabilities 5

  • High 8.6

    Pillow: OOB Write with Invalid PSD Tile Extents (Integer Overflow)

    Pillow is a Python imaging library. From version 10.3.0 to before version 12.2.0, processing a malicious PSD file could lead to memory corruption, potentially resulting in a crash or arbitrary code execution. This issue has been patched in version 12.2.0.

  • 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/1270404
  • 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-42311
  • 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