Pillow Python imaging library Flaw CVE-2026-96639: Update Now
Published November 7, 2026 · Last updated November 7, 2026
The short version: CVE-2026-96639 is a critical-severity security flaw in Pillow Python imaging library. The National Vulnerability Database (NVD) published it on October 21, 2026, and the score it lists is 9.8 out of 10. When FraudMeNot checked on November 7, 2026, CISA had not added CVE-2026-96639 to its Known Exploited Vulnerabilities catalog, so there was no public U.S. government confirmation of attacks yet. A fix is available, which is why this page focuses on who should update and how.
What the official record says about CVE-2026-96639
The record was filed by github.com. In its own words: "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."
Why Pillow Python imaging library admins should care
Severity scores use the Common Vulnerability Scoring System (CVSS). the address listed on github.com rated CVE-2026-96639 9.8 (Critical) under CVSS 3.1. Reading that rating in everyday terms: it can be reached over a network, including the internet; an attacker does not need an account; no one has to click or open anything. If it is abused, the rated damage to keeping data private is high, to keeping data unaltered is high, and to keeping Pillow Python imaging library running is high. Scoring string: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
Affected Pillow Python imaging library releases
According to the record, these releases are vulnerable:
- version >= 11.0.0, < 13.0.0
The type of bug behind CVE-2026-96639
NVD classifies it using MITRE's Common Weakness Enumeration:
- CWE-125, Out-of-bounds Read. MITRE describes this class of bug as follows: "The product reads data past the end, or before the beginning, of the intended buffer."
- CWE-787, Out-of-bounds Write. MITRE describes this class of bug as follows: "The product writes data past the end, or before the beginning, of the intended buffer."
Vendor remediation for CVE-2026-96639
The vendor advisory remediation for operators of Pillow Python imaging library, quoted for this page, is: "Upgrade Pillow 11.0.0 through 12.3.0 to Pillow 13.0.0 or later (python-pillow advisory GHSA-v9pv-5gc8-w2m6, fix commit 78d97d9). Developers and operators of any Python service that opens untrusted multi-frame images (MPO, JPEG, TIFF, GIF) act first; rebuild containers and virtual environments so the pinned Pillow version actually changes. No vendor workaround is published; until upgraded, do not process untrusted multi-frame uploads."
What to do about it
- Update now: Upgrade Pillow 11.0.0 through 12.3.0 to Pillow 13.0.0 or later (python-pillow advisory GHSA-v9pv-5gc8-w2m6, fix commit 78d97d9). Developers and operators of any Python service that opens untrusted multi-frame images (MPO, JPEG, TIFF, GIF) act first; rebuild containers and virtual environments so the pinned Pillow version actually changes. No vendor workaround is published; until upgraded, do not process untrusted multi-frame uploads.
- Who should act: IT teams, managed service providers, and developers who run or ship Pillow Python imaging library. Check every place it runs, including servers, build systems, containers, and older machines nobody watches closely.
- Read the official advisory from Pillow (linked under Sources) for exact fixed builds and any temporary workaround if you cannot patch today.
- After patching, confirm the new version is actually running and review logs from October 21, 2026 onward for anything unusual.
- Home users: you do not need to buy or download anything because of CVE-2026-96639. A caller, text, or pop-up claiming your computer is "infected" with this CVE and asking for money or remote access is a scam.
CVE-2026-96639 record details from CISA and NVD
- Attack complexity for CVE-2026-96639: low
- CVE-2026-96639 CVSS scope: unchanged
- NVD sub-scores for CVE-2026-96639: exploitability 3.9, impact 5.9.
- Who mapped the weakness type: the address listed on github.com (Secondary)
- NVD product identifiers (CPE):
cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:* - References in the NVD record: 4 (1 tagged Patch, 1 tagged Issue Tracking, 1 tagged Release Notes).
- CISA SSVC decision points for CVE-2026-96639 (from NVD): exploitation=none; automatable=yes; technicalImpact=total (role: CISA Coordinator, SSVC 2.0.3).
Dates to know
- October 21, 2026: NVD publishes CVE-2026-96639.
- November 7, 2026: FraudMeNot checks the CISA KEV catalog; CVE-2026-96639 is not listed.
- October 29, 2026: most recent NVD update (record status: Analyzed).
Official references
Links listed in the NVD record (labels in brackets come from NVD):
- github.com/python-pillow/Pillow/commit/78d97d994579aef81aafe123773d525f40f2522a (Patch)
- github.com/python-pillow/Pillow/pull/10105 (Issue Tracking)
- github.com/python-pillow/Pillow/releases/tag/13.0.0 (Release Notes)
- github.com/python-pillow/Pillow/security/advisories/GHSA-v9pv-5gc8-w2m6 (Vendor Advisory)
Sources
- NVD: CVE-2026-96639
- CVE.org: CVE-2026-96639
- Pillow advisory
- Pillow advisory
- Pillow advisory
- MITRE CWE-125
- MITRE CWE-787
General education only, not security advice. Facts checked against the sources above on the date shown.