CVE-2026-96639: Vulnerability in Python Pillow
Critical. 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,...
PyPI, CWE-125, CWE-787
- Exploitation
- None confirmed
- Severity
- 9.8 of 10
- Attack likelihood
- 1 % in 30 days
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-v9pv-5gc8-w2m6
- EU ID
- EUVD-2026-107573
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weakness
- CWE-125, CWE-787
- Published
- 21 Oct 2026
- Last change
- 29 Oct 2026
- Likelihood rank
- Higher than 61 % of all rated vulnerabilities
- Analysis status
- Analyzed
- Ecosystem
- PyPI
Affected products
Affected versions and the first fixed release
- Python Pillow From 11.0.0 before 13.0.0. Fixed in 13.0.0
Affected packages
Vulnerable version ranges and fixed releases
- Pillow PyPI, Affected from 11.0.0 before 13.0.0. Fixed in 13.0.0
Advisories
Vendor and security advisories
Patches and fixes
Updates, commits and release notes
- github.com/python-pillow/Pillow/commit/78d97d994579aef81aafe123773d525f40f2522a
- github.com/python-pillow/Pillow/pull/10105
- github.com/python-pillow/Pillow/releases/tag/13.0.0
Related
- Pillow vulnerabilities Recent advisories, watch this product