Feed
9.8CRITICAL

CVE-2026-96639Pillow multi-frame loaders can reuse stale native image storage after mode transitions

A critical-severity vulnerability reachable over the network, needing no privileges and no user interaction. EPSS estimates a 1.0% chance of exploitation in the next 30 days. A fixed version is named.

Exploited in the wild
Not in KEV
EPSS
1.0%
percentile 61%
Priority
26/100 medium
how it is computed
Fix
Named by a source
CVE published 21 Oct 2026

Reference

None of the "Needs attention" rules apply right now.

EPSS 1.0% (+1) · Network attack vector (+10) · No privileges required (+5) · No user interaction (+5)

Immediate actions

Who should check

  • pillow (PyPI) pkg:pypi/pillow

    • Affected>= 11.0.0, < 13.0.0Fixed in13.0.0OSV (PYSEC-2026-4339)
  • python pillow product:python/pillow

    • Affected>= 11.0.0, < 13.0.0Affected range ends before13.0.0as published by CPE data (via the NVD API)
  • python-pillow Pillow product:pythonpillow/pillow

    • Affected>= 11.0.0, < 13.0.0Affected range ends before13.0.0as published by CNA (CVE List)

Products (not packages) are shown as their sources publish them. We check no product version against these ranges; a fixed version is the one the source names. Ask the vendor's advisory.

Confirmed facts

CVSS
9.8 CRITICAL (version 3.1)
Score from
CNA ([email protected])
Attack vector
network
Attack complexity
low
Privileges required
none
User interaction
none
Weakness
CWE-125, CWE-787
Exploitation (CISA SSVC)
none
Automatable (CISA SSVC)
yes
Assigned by
[email protected]

Unknowns

  • We show one CVSS score. Other sources may score this CVE differently.

Advisory text

Quoted from the source advisory (untrusted)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.

Update history

  • 21 Oct 2026Published

References

Sources

This page is our own presentation: records are shortened, normalised and merged. Licences

Last checked: kev 19 min ago · osv 18 min ago · nvd 79 min ago · epss 18 min ago · JSON · ask via MCP: explain_vulnerability

Also known as BIT-pillow-2026-96639, GHSA-v9pv-5gc8-w2m6, PYSEC-2026-4339