ALAS2-2026-4075


Amazon Linux 2 (EOS) Security Advisory: ALAS2-2026-4075
Advisory Released Date: 2026-11-09
Advisory Updated Date: 2026-11-09
Severity: Important

Issue Overview:

Pillow is a Python imaging library. Prior to 13.0.0, Pillow's rank-based filters can dereference invalid image storage for a zero-size image. ImagingExpand() allocates a non-empty output and then faults while replicating edges by reading the first pixel from empty input storage; ImagingRankFilter is never reached. An attacker can supply or cause creation of a zero-size image to an application that applies a rank, median, minimum, or maximum filter. This causes a native process crash. This issue is fixed in version 13.0.0. (CVE-2026-112392)

Pillow is a Python imaging library. Prior to 13.0.0, Pillow's FlashPix JPEG-tile decoder can write decoded scanlines beyond the allocated tile buffer. FlashPix (FPX) JPEG decoding selects raw mode LA with two bytes per pixel, while an unrecognized JPEG mode can be decoded as JCS_UNKNOWN with four components, causing ImagingJpegDecode to write four-component scanlines into the two-byte tile buffer. An attacker can supply a crafted OLE2 FlashPix file to an application with the optional olefile dependency installed that opens or thumbnails untrusted input. This can corrupt heap memory and may allow arbitrary code execution. This issue is fixed in version 13.0.0. (CVE-2026-112398)

Pillow is a Python imaging library. Prior to 13.0.0, Pillow's XBM header parser is vulnerable to regular-expression denial of service. In XbmImageFile._open, when an application calls Image.open() on a small crafted XBM file, XbmImagePlugin applies a backtracking expression to the attacker-controlled header before image dimensions are accepted, stalling a worker for minutes and denying service. This issue is fixed in version 13.0.0. (CVE-2026-112901)


Affected Packages:

python-pillow


Note:

This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.


Issue Correction:
Run yum update python-pillow or yum update --advisory ALAS2-2026-4075 to update your system.

New Packages:
aarch64:
    python-pillow-2.0.0-23.gitd1c6db8.amzn2.0.21.aarch64
    python-pillow-devel-2.0.0-23.gitd1c6db8.amzn2.0.21.aarch64
    python-pillow-doc-2.0.0-23.gitd1c6db8.amzn2.0.21.aarch64
    python-pillow-sane-2.0.0-23.gitd1c6db8.amzn2.0.21.aarch64
    python-pillow-tk-2.0.0-23.gitd1c6db8.amzn2.0.21.aarch64
    python-pillow-debuginfo-2.0.0-23.gitd1c6db8.amzn2.0.21.aarch64

i686:
    python-pillow-2.0.0-23.gitd1c6db8.amzn2.0.21.i686
    python-pillow-devel-2.0.0-23.gitd1c6db8.amzn2.0.21.i686
    python-pillow-doc-2.0.0-23.gitd1c6db8.amzn2.0.21.i686
    python-pillow-sane-2.0.0-23.gitd1c6db8.amzn2.0.21.i686
    python-pillow-tk-2.0.0-23.gitd1c6db8.amzn2.0.21.i686
    python-pillow-debuginfo-2.0.0-23.gitd1c6db8.amzn2.0.21.i686

src:
    python-pillow-2.0.0-23.gitd1c6db8.amzn2.0.21.src

x86_64:
    python-pillow-2.0.0-23.gitd1c6db8.amzn2.0.21.x86_64
    python-pillow-devel-2.0.0-23.gitd1c6db8.amzn2.0.21.x86_64
    python-pillow-doc-2.0.0-23.gitd1c6db8.amzn2.0.21.x86_64
    python-pillow-sane-2.0.0-23.gitd1c6db8.amzn2.0.21.x86_64
    python-pillow-tk-2.0.0-23.gitd1c6db8.amzn2.0.21.x86_64
    python-pillow-debuginfo-2.0.0-23.gitd1c6db8.amzn2.0.21.x86_64