CVE-2026-96639: python-pillow pillow Out-of-bounds Read
Vulnerability summary
CVE-2026-96639 is a critical (CVSS 9.8) Out-of-bounds Read vulnerability in python-pillow pillow.
Timeline
- 21-10-2026PublishedVulnerability first disclosed.
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 metrics
2 scores · 2 sources · 1 version- NVDNIST9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
No EPSS score has been published for this record yet.
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Python-pillow1 product
- pillow≥ 11.0.0, < 13.0.0
1 vendor · 1 product
References
4 links- github.com/python-pillow/Pillow/security/advisories/GHSA-v9pv-5gc8-w2m6X Refsource CONFIRM
- github.com/python-pillow/Pillow/pull/10105X Refsource MISC
- github.com/python-pillow/Pillow/releases/tag/13.0.0X Refsource MISC