Amazon Linux 2023 Security Advisory: ALAS2023-2026-2013
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. From 5.2.0 until 12.3.0, Pillow's TGA RLE encoder reads past its packed row buffer when saving a mode 1 image with TGA RLE compression, allowing adjacent process heap bytes to be copied into the generated TGA file. This issue is fixed in version 12.3.0. (CVE-2026-59198)
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. From 5.1.0 until 12.3.0, PdfParser.PdfStream.decode() in PIL/PdfParser.py calls zlib.decompress() with bufsize set to the PDF stream Length field without bounding the decompressed output size, allowing a crafted FlateDecode PDF stream to exhaust memory from a small file. This issue is fixed in version 12.3.0. (CVE-2026-59200)
Pillow is a Python imaging library. From 8.2.0 through 12.2.0, src/libImaging/Jpeg2KDecode.c accumulates total_component_width across every tile in a JPEG2000 image instead of recomputing it per tile, allowing a crafted tiled JPEG2000 file to force substantially higher transient memory usage and trigger out-of-memory failures during decoding. This issue is fixed in version 12.3.0. (CVE-2026-59204)
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
Issue Correction:
Run dnf update python-pillow --releasever 2023.12.20260803 or dnf update --advisory ALAS2023-2026-2013 --releasever 2023.12.20260803 to update your system.
More information on how to update your system can be found on this page: Amazon Linux 2023 documentation
aarch64:
python3-pillow-devel-9.4.0-2.amzn2023.0.10.aarch64
python3-pillow-tk-debuginfo-9.4.0-2.amzn2023.0.10.aarch64
python3-pillow-debuginfo-9.4.0-2.amzn2023.0.10.aarch64
python-pillow-debugsource-9.4.0-2.amzn2023.0.10.aarch64
python3-pillow-tk-9.4.0-2.amzn2023.0.10.aarch64
python-pillow-debuginfo-9.4.0-2.amzn2023.0.10.aarch64
python3-pillow-9.4.0-2.amzn2023.0.10.aarch64
src:
python-pillow-9.4.0-2.amzn2023.0.10.src
x86_64:
python-pillow-debugsource-9.4.0-2.amzn2023.0.10.x86_64
python3-pillow-debuginfo-9.4.0-2.amzn2023.0.10.x86_64
python-pillow-debuginfo-9.4.0-2.amzn2023.0.10.x86_64
python3-pillow-tk-debuginfo-9.4.0-2.amzn2023.0.10.x86_64
python3-pillow-devel-9.4.0-2.amzn2023.0.10.x86_64
python3-pillow-tk-9.4.0-2.amzn2023.0.10.x86_64
python3-pillow-9.4.0-2.amzn2023.0.10.x86_64