CVEFinder.io

CVE-2026-96639

β›” critical
Summary

Pillow is a Python imaging library. From 11.0.0 until 13.0.0, multi-frame loaders can retain an ImagingCore allocation created for a narrow frame mode while a later frame of the same dimensions changes the logical mode and decoder tiles to wider RGB or CMYK data. ImageFile.load_prepare() reuses the stale native storage because _im is non-null without verifying that its mode and size still match. Crafted PSD, MPO, DCX, or MIC frame transitions can then write wider pixels into the narrow allocatio

Description

Pillow is a Python imaging library. From 11.0.0 until 13.0.0, multi-frame loaders can retain an ImagingCore allocation created for a narrow frame mode while a later frame of the same dimensions changes the logical mode and decoder tiles to wider RGB or CMYK data. ImageFile.load_prepare() reuses the stale native storage because _im is non-null without verifying that its mode and size still match. Crafted PSD, MPO, DCX, or MIC frame transitions can then write wider pixels into the narrow allocation, causing native out-of-bounds writes and crashes. The MPO path can also cause a native over-read and, in demonstrated runtime-specific profiles, command execution. This issue is fixed in version 13.0.0.

CVSS Score
9.8
Critical
EPSS Score
0.7
Exploit Probability
Published Date
2026-10-21
First Seen: 2026-11-03
πŸ“Š Relative Risk Intelligence

This CVE is Very High Risk - more severe than 90.7% of all 379,244 vulnerabilities in our database.

#35,142
Top 10% most severe
Severity Percentile
🎯 CISA SSVC Assessment Updated: Oct 29, 2026
πŸ” Exploitation Status
None
No known exploits
βš™οΈ Automatable
YES
Can be exploited automatically
πŸ’₯ Technical Impact
Total
Complete system compromise possible
SSVC data provided by CISA
Last Modified 2026-10-29
CVSS Vector 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CWE IDs (Weakness Types)

πŸ“¦ Affected Products 1

πŸ”— References 4

πŸ”— Related CVEs 6

CVE ID Severity CVSS EPSS Summary Published
CVE-2026-112899 πŸ”Ά medium 5.3 0.6 Pillow is a Python imaging library. In versions 2.3.0 through 12.3.0, EPS rendering does not validate the scaled image d... 2026-11-05
CVE-2026-112902 β›” critical 9.1 0.6 Pillow is a Python imaging library. In versions through 12.3.0, the libtiff TIFF encoder can pass arguments to Β TIFFSet... 2026-11-05
CVE-2026-96636 πŸ”Ά medium 6.5 0.4 Pillow is a Python imaging library. Prior to 13.0.0, MpoImageFile.seek() and DcxImageFile.seek() reparse later MPO or DC... 2026-10-21
CVE-2026-96637 πŸ”Ά medium 6.5 0.4 Pillow is a Python imaging library. Prior to 13.0.0, SpiderImageFile.seek() in src/PIL/SpiderImagePlugin.py reparses a l... 2026-10-21
CVE-2026-96638 πŸ”Ά medium 6.5 0.4 Pillow is a Python imaging library. From 9.1.0 until 13.0.0, BmpRleDecoder.decode() in src/PIL/BmpImagePlugin.py permits... 2026-10-21
CVE-2026-96640 ⚠️ high 7.5 0.6 Pillow is a Python imaging library. From 5.1.0 until 13.0.0, PdfParser.linearize_page_tree() in src/PIL/PdfParser.py tre... 2026-10-21
These CVEs affect the same products