Skip to main content
VulnerabilityPublished Updated

CVE-2026-96640: Pillow · Uncontrolled Resource Consumption

Affects PillowSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 8.2 High : upgrade to 13.0.0 soon.

Data as of 4 Dec 2026, 18:38 UTC

CVSS 4.0 base score
8.2High
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 4.08.2
EPSS
0.6% chance of exploitation in 30 days – higher than 50% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 13.0.0
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 21 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 5 Dec 2026.

What to do

Upgrade Pillow and pillow to 13.0.0.

Affected software

ProductAffectedFixed in
python-pillowPillowAffected
  • >=5.1.0 <13.0.0
Fixed in
  • 13.0.0
PyPIpillowpkg:pypi/pillowOther threatsAffected
  • 5.1.0 – 12.3.0
  • >=5.1.0 <13.0.0
49 affected builds
Fixed in
  • 13.0.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade to Pillow version 13.0.0 or later, where this vulnerability is fixed. No other mitigation is indicated or required.

Description

A vulnerability in the python-pillow Pillow library versions 5.1.0 through 12.x allows an attacker to cause uncontrolled resource consumption. The PdfParser.linearize_page_tree() function treats a PDF /Pages graph as a tree without tracking duplicate indirect references, leading to exponential expansion of page references when processing a crafted PDF. This results in disproportionate CPU usage during the append operation. The issue is fixed in version 13.0.0.

References

Community reviews

Loading reviews…