Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

Security advisory

ALAS2-2026-4158

Active Important

ALAS2-2026-4158 (important): python-pillow

Published
04 Dec 2026
Updated
04 Dec 2026

Related CVEs

CVE identifiers linked by this publisher.

5
Publisher relationship details 5 records

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.

4

Shared package data

Applies to all 4 occurrences
  1. 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
  2. 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
  3. 3python-pillow

    Occurrence-specific details
    Architecture
    src

    Replacement RPMs

    • python-pillow-2.0.0-23.gitd1c6db8.amzn2.0.23.src
  4. 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.

0

No CVSS assessments were provided.

Publisher references

10
  • CVE-2026-112394 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2026-112394
  • CVE-2026-112402 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2026-112402
  • CVE-2026-96637 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2026-96637
  • CVE-2026-96641 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2026-96641
  • CVE-2026-96642 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2026-96642
  • CVE-2026-112394 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-112394
  • CVE-2026-112402 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-112402
  • CVE-2026-96637 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-96637
  • CVE-2026-96641 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-96641
  • CVE-2026-96642 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-96642

Provenance

Schema version
Unknown
Parser version
amazon-alas/1
Severity origin
publisher
Publisher document provenance records
KindLocatorSource commitDocument hashParserFetched
html_pagehttps://alas.aws.amazon.com/AL2/ALAS2-2026-4158.htmlUnknown8dd41101709be10bb46230a427343a9ba761b5abebf7c9b3b692e641687c7222amazon-alas/12026-12-04T15:31:47Z
rss_entryhttps://alas.aws.amazon.com/AL2/ALAS2-2026-4158.htmlUnknownUnknownamazon-alas/12026-12-04T15:31:47Z

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected