ALAS2-2026-4158
Active ImportantALAS2-2026-4158 (important): python-pillow
Related CVEs
CVE identifiers linked by this publisher.
Publisher relationship details 5 records
Shared by all 5 CVE relationships
Exact relationship value
advisory_listExact field value
referencesExact evidence value
https://alas.aws.amazon.com/AL2/ALAS2-2026-4158.html| CVE |
|---|
| CVE-2026-112394 |
| CVE-2026-112402 |
| CVE-2026-96637 |
| CVE-2026-96641 |
| CVE-2026-96642 |
Description
Pillow is a Python imaging library. Prior to 13.0.0, Pillow's P;2L and P;4L raw decoders can read past the end of an input buffer. ImagingRawDecode calculates a packed-pixel row size, while the unpackers read separately padded bit planes. A caller can supply a buffer and image dimensions whose accepted size is smaller than the unpacker's actual footprint.
Read full publisher description 2621 characters
Pillow is a Python imaging library. Prior to 13.0.0, Pillow's P;2L and P;4L raw decoders can read past the end of an input buffer. ImagingRawDecode calculates a packed-pixel row size, while the unpackers read separately padded bit planes. A caller can supply a buffer and image dimensions whose accepted size is smaller than the unpacker's actual footprint. This can disclose up to three adjacent heap bytes in output pixels or crash the process. This issue is fixed in version 13.0.0. (CVE-2026-112394) A flaw was found in Pillow. A remote attacker who can submit large image transformation operations under memory pressure can trigger improper error handling, leading to a double-free vulnerability (releasing the same memory block twice). This issue can result in an application crash, causing a Denial of Service (DoS), and may potentially lead to memory corruption. (CVE-2026-112402) Pillow is a Python imaging library. Prior to 13.0.0, SpiderImageFile.seek() in src/PIL/SpiderImagePlugin.py reparses a later SPIDER stack frame and replaces self._size without rerunning Image._decompression_bomb_check(). A tiny file can use a safe first frame to pass Image.open() and then declare very large dimensions in a later mode F frame. Loading that frame allocates approximately four bytes per attacker-declared pixel and can consume multiple gigabytes of memory. This issue is fixed in version 13.0.0. (CVE-2026-96637) Pillow is a Python imaging library. Prior to 13.0.0, PILfont text-width accumulation in src/_imaging.c checks positive glyph advances against INT_MAX but does not check negative advances against INT_MIN. Repeating a signed 16-bit advance of -32768 can therefore execute a signed C integer overflow in xsize += dx, producing a large positive width from a negative mathematical result. Applications that use getlength(), getsize(), or derived layout, quota, serialization, or allocation calculations can experience logic-integrity errors or resource consumption, while the high-level mask path commonly retains a decompression-bomb check. This issue is fixed in version 13.0.0. (CVE-2026-96641) Pillow is a Python imaging library. Prior to 13.0.0, the TarIO initializer in src/PIL/TarIO.py accepts a negative octal member size and computes a backward seek that returns to the same 512-byte header. When the requested member name does not match, the parser repeatedly reads that header, consumes a full CPU core, and never returns. TarIO is reached only when an application directly uses PIL.TarIO.TarIO rather than the default Image.open() path. This issue is fixed in version 13.0.0. (CVE-2026-96642)
Solution
Run yum update python-pillow or yum update --advisory ALAS2-2026-4158 to update your system.
Affected packages
Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.
Shared package data
Applies to all 4 occurrences-
1python-pillow
Occurrence-specific details
- Architecture
- aarch64
Replacement RPMs
- python-pillow-2.0.0-23.gitd1c6db8.amzn2.0.23.aarch64
- python-pillow-devel-2.0.0-23.gitd1c6db8.amzn2.0.23.aarch64
- python-pillow-doc-2.0.0-23.gitd1c6db8.amzn2.0.23.aarch64
- python-pillow-sane-2.0.0-23.gitd1c6db8.amzn2.0.23.aarch64
- python-pillow-tk-2.0.0-23.gitd1c6db8.amzn2.0.23.aarch64
- python-pillow-debuginfo-2.0.0-23.gitd1c6db8.amzn2.0.23.aarch64
-
2python-pillow
Occurrence-specific details
- Architecture
- i686
Replacement RPMs
- python-pillow-2.0.0-23.gitd1c6db8.amzn2.0.23.i686
- python-pillow-devel-2.0.0-23.gitd1c6db8.amzn2.0.23.i686
- python-pillow-doc-2.0.0-23.gitd1c6db8.amzn2.0.23.i686
- python-pillow-sane-2.0.0-23.gitd1c6db8.amzn2.0.23.i686
- python-pillow-tk-2.0.0-23.gitd1c6db8.amzn2.0.23.i686
- python-pillow-debuginfo-2.0.0-23.gitd1c6db8.amzn2.0.23.i686
-
3python-pillow
Occurrence-specific details
- Architecture
- src
Replacement RPMs
- python-pillow-2.0.0-23.gitd1c6db8.amzn2.0.23.src
-
4python-pillow
Occurrence-specific details
- Architecture
- x86_64
Replacement RPMs
- python-pillow-2.0.0-23.gitd1c6db8.amzn2.0.23.x86_64
- python-pillow-devel-2.0.0-23.gitd1c6db8.amzn2.0.23.x86_64
- python-pillow-doc-2.0.0-23.gitd1c6db8.amzn2.0.23.x86_64
- python-pillow-sane-2.0.0-23.gitd1c6db8.amzn2.0.23.x86_64
- python-pillow-tk-2.0.0-23.gitd1c6db8.amzn2.0.23.x86_64
- python-pillow-debuginfo-2.0.0-23.gitd1c6db8.amzn2.0.23.x86_64
CVSS assessments
Publisher supplied scores and vectors; these do not replace the advisory severity above.
No CVSS assessments were provided.
Publisher references
10- CVE-2026-112394 https://access.redhat.com/security/cve/CVE-2026-112394
- CVE-2026-112402 https://access.redhat.com/security/cve/CVE-2026-112402
- CVE-2026-96637 https://access.redhat.com/security/cve/CVE-2026-96637
- CVE-2026-96641 https://access.redhat.com/security/cve/CVE-2026-96641
- CVE-2026-96642 https://access.redhat.com/security/cve/CVE-2026-96642
- CVE-2026-112394 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-112394
- CVE-2026-112402 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-112402
- CVE-2026-96637 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-96637
- CVE-2026-96641 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-96641
- CVE-2026-96642 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-96642
Provenance
- Schema version
- Unknown
- Parser version
- amazon-alas/1
- Severity origin
- publisher
| Kind | Locator | Source commit | Document hash | Parser | Fetched |
|---|---|---|---|---|---|
| html_page | https://alas.aws.amazon.com/AL2/ALAS2-2026-4158.html | Unknown | 8dd41101709be10bb46230a427343a9ba761b5abebf7c9b3b692e641687c7222 | amazon-alas/1 | 2026-12-04T15:31:47Z |
| rss_entry | https://alas.aws.amazon.com/AL2/ALAS2-2026-4158.html | Unknown | Unknown | amazon-alas/1 | 2026-12-04T15:31:47Z |