cve.bz

CVE-2026-96639 python pillow: Out-of-bounds Read

9.8 criticalEPSS 0.7%Fix available

Critical (9.8) in python pillow. EPSS 0.7% estimated probability of exploitation activity in the next 30 days. Fixed in pillow 13.0.0.

On this page
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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.7% (unchanged from 0.7% a week ago) estimated probability of exploitation activity in the next 30 days; 52nd percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: total, assessed 2026-10-29. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-125 Out-of-bounds Read
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-96639 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-96639?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-96639?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-96639 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
python:pillowfrom 11.0.0 before 13.0.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-v9pv-5gc8-w2m6PyPIpillow>=11.0.0 <13.0.013.0.0
PYSEC-2026-4339PyPIpillow>=11.0.0 <13.0.013.0.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13pillowno fix listedDEBIAN-CVE-2026-96639
Debian14pillow13.0.0-1DEBIAN-CVE-2026-96639
Ubuntu22.04:LTSpillow9.0.1-1ubuntu0.7USN-9064-1
Ubuntu24.04:LTSpillow10.2.0-1ubuntu1.5USN-9064-1
Ubuntu26.04:LTSpillow12.1.1-2ubuntu1.5UBUNTU-CVE-2026-96639 USN-9064-1
Ubuntu26.10pillow12.3.0-1ubuntu2UBUNTU-CVE-2026-96639 USN-9064-1
UbuntuPro:14.04:LTSpillow2.3.0-1ubuntu3.4+esm6USN-9064-1
UbuntuPro:16.04:LTSpillow3.1.2-0ubuntu1.6+esm4USN-9064-1
UbuntuPro:18.04:LTSpillow5.1.0-1ubuntu0.8+esm3USN-9064-1
UbuntuPro:20.04:LTSpillow7.0.0-4ubuntu0.9+esm2USN-9064-1
UbuntuPro:20.04:LTSpillow-python2no fix listedUBUNTU-CVE-2026-96639
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0python-Pillow11.3.0-160000.9.1SUSE-SU-2026:24656-1
SUSELinux Enterprise Server for NVIDIA 16.1python-Pillow11.3.0-160100.3.1SUSE-SU-2026:24701-1
openSUSELeap 16.0python-Pillow11.3.0-160000.9.1openSUSE-SU-2026:22246-1
openSUSELeap 16.1python-Pillow11.3.0-160100.3.1openSUSE-SU-2026:22301-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Red Hat

Red Hat rates this Critical.

Red Hat's statement

This vulnerability is rated Critical because network-facing services that ingest and process untrusted multi-frame images can be exploited without privileges or user interaction, potentially resulting in memory corruption and remote code execution. Applications parsing sequential frames in formats such as MPO, PSD, or DCX are exposed when handling transitions between varying color modes within the same file. Red Hat Enterprise Linux releases distributing versions prior to Pillow 11.0.0 are unaffected as they lack the affected storage reuse implementation.

ProductPackageStateAdvisory
Red Hat AI Inference Server 3.2rhaiis/vllm-rocm-rhel9:1793961846Fixed 2026-11-09RHSA-2026:96400
Red Hat AI Inference Server 3.2rhaiis/model-opt-cuda-rhel9:1793962303Fixed 2026-11-09RHSA-2026:96403
Red Hat AI Inference Server 3.2rhaiis/vllm-cuda-rhel9:1793961309Fixed 2026-11-09RHSA-2026:96406
Red Hat AI Inference Server 3.5rhaii/vllm-cpu-rhel9:1793444554Fixed 2026-11-03RHSA-2026:94702
Red Hat AI Inference Server 3.5rhaii/vllm-rocm-rhel9:1793444456Fixed 2026-11-03RHSA-2026:94709
Red Hat AI Inference Server 3.5rhaii/model-opt-cuda-rhel9:1793444339Fixed 2026-11-03RHSA-2026:94715
Red Hat AI Inference Server 3.5rhaii/vllm-spyre-rhel9:1793444409Fixed 2026-11-03RHSA-2026:94717
Red Hat AI Inference Server 3.5rhaii/vllm-gaudi-rhel9:1793444510Fixed 2026-11-03RHSA-2026:94721
Red Hat AI Inference Server 3.5rhaii/vllm-cuda-rhel9:1793444600Fixed 2026-11-03RHSA-2026:94738
Red Hat Enterprise Linux AI 3.5rhelai3/disk-image-cuda-rhel9:1793995863Fixed 2026-11-09RHSA-2026:96323
Exploit Intelligenceexploit-intelligence/vulnerability-analysis-rhel9Affected
Red Hat AI Inference Serverrhaii-fast/model-opt-cuda-rhel9Affected
Red Hat AI Inference Serverrhaii-fast/vllm-cpu-rhel9Affected
Red Hat AI Inference Serverrhaii-fast/vllm-cuda-rhel9Affected
Red Hat AI Inference Serverrhaii-fast/vllm-gaudi-rhel9Affected
Red Hat AI Inference Serverrhaii-fast/vllm-neuron-rhel9Will not fix
Red Hat AI Inference Serverrhaii-fast/vllm-omni-cuda-rhel9Will not fix
Red Hat AI Inference Serverrhaii-fast/vllm-rocm-rhel9Affected
Red Hat AI Inference Serverrhaii-fast/vllm-spyre-rhel9Affected
Red Hat AI Inference Serverrhaii-fast/vllm-tpu-rhel9Will not fix
61 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-96639.

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON