Amazon Linux 2 Security Advisory: ALAS2-2026-3839
Advisory Released Date: 2026-08-04
Advisory Updated Date: 2026-08-04
FAQs regarding Amazon Linux ALAS/CVE Severity
Pillow is a Python imaging library. Prior to 12.3.0, when Pillow loads an uncompressed McIdas AREA image from a filename through the mmap raw codec path, attacker-controlled header words can set a row stride smaller than the natural row width, causing pixel access such as Image.tobytes(), getpixel, convert, or save to read beyond the mapped region and disclose adjacent process memory or fault. This issue is fixed in version 12.3.0. (CVE-2026-54058)
Pillow is a Python imaging library. Prior to 12.3.0, Pillow's public rank-filter API can trigger a native heap out-of-bounds write when given a very large odd filter size because ImageFilter.RankFilter.filter() calls image.expand(size // 2, size // 2) before rank-filter size validation and ImagingExpand() computes output dimensions with unchecked signed int arithmetic. This issue is fixed in version 12.3.0. (CVE-2026-59197)
Pillow is a Python imaging library. Prior to 12.3.0, Pillow public image coordinate APIs can trigger a native heap out-of-bounds write when given coordinates near the signed 32-bit integer limits in Image.paste(), Image.crop(), or Image.alpha_composite(). This issue is fixed in version 12.3.0. (CVE-2026-59199)
Pillow is a Python imaging library. Prior to 12.3.0, Pillow's ImageCms.ImageCmsTransform.apply(im, imOut) API can trigger controlled native heap corruption when the caller supplies an output image whose mode does not match the transform's declared output mode. This issue is fixed in version 12.3.0. (CVE-2026-59205)
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-3839 to update your system.
aarch64:
python-pillow-2.0.0-23.gitd1c6db8.amzn2.0.20.aarch64
python-pillow-devel-2.0.0-23.gitd1c6db8.amzn2.0.20.aarch64
python-pillow-doc-2.0.0-23.gitd1c6db8.amzn2.0.20.aarch64
python-pillow-sane-2.0.0-23.gitd1c6db8.amzn2.0.20.aarch64
python-pillow-tk-2.0.0-23.gitd1c6db8.amzn2.0.20.aarch64
python-pillow-debuginfo-2.0.0-23.gitd1c6db8.amzn2.0.20.aarch64
i686:
python-pillow-2.0.0-23.gitd1c6db8.amzn2.0.20.i686
python-pillow-devel-2.0.0-23.gitd1c6db8.amzn2.0.20.i686
python-pillow-doc-2.0.0-23.gitd1c6db8.amzn2.0.20.i686
python-pillow-sane-2.0.0-23.gitd1c6db8.amzn2.0.20.i686
python-pillow-tk-2.0.0-23.gitd1c6db8.amzn2.0.20.i686
python-pillow-debuginfo-2.0.0-23.gitd1c6db8.amzn2.0.20.i686
src:
python-pillow-2.0.0-23.gitd1c6db8.amzn2.0.20.src
x86_64:
python-pillow-2.0.0-23.gitd1c6db8.amzn2.0.20.x86_64
python-pillow-devel-2.0.0-23.gitd1c6db8.amzn2.0.20.x86_64
python-pillow-doc-2.0.0-23.gitd1c6db8.amzn2.0.20.x86_64
python-pillow-sane-2.0.0-23.gitd1c6db8.amzn2.0.20.x86_64
python-pillow-tk-2.0.0-23.gitd1c6db8.amzn2.0.20.x86_64
python-pillow-debuginfo-2.0.0-23.gitd1c6db8.amzn2.0.20.x86_64