Amazon Linux Security Advisory
ALAS2023-2026-1985
Amazon Linux 2023 - ALAS2023-2026-1985: Important priority package update for python-pillow
Details
Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2026-55380: 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 excessive C-heap allocation when loaded. This issue is fixed in version 12.3.0.
CVE-2026-55379: 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.
CVE-2026-54060: 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 excessive allocation during conversion or saving. This issue is fixed in version 12.3.0.
CVE-2026-54059: 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 font data to cause excessive memory allocation. This issue is fixed in version 12.3.0.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Amazon Linux:2023 | python-pillow-debuginfo | All versions before 9.4.0-2.amzn2023.0.9 (fixed in 9.4.0-2.amzn2023.0.9) |
| Amazon Linux:2023 | python-pillow-debugsource | All versions before 9.4.0-2.amzn2023.0.9 (fixed in 9.4.0-2.amzn2023.0.9) |
| Amazon Linux:2023 | python3-pillow | All versions before 9.4.0-2.amzn2023.0.9 (fixed in 9.4.0-2.amzn2023.0.9) |
| Amazon Linux:2023 | python3-pillow-debuginfo | All versions before 9.4.0-2.amzn2023.0.9 (fixed in 9.4.0-2.amzn2023.0.9) |
| Amazon Linux:2023 | python3-pillow-devel | All versions before 9.4.0-2.amzn2023.0.9 (fixed in 9.4.0-2.amzn2023.0.9) |
| Amazon Linux:2023 | python3-pillow-tk | All versions before 9.4.0-2.amzn2023.0.9 (fixed in 9.4.0-2.amzn2023.0.9) |
| Amazon Linux:2023 | python3-pillow-tk-debuginfo | All versions before 9.4.0-2.amzn2023.0.9 (fixed in 9.4.0-2.amzn2023.0.9) |