CVE-2026-96637: Pillow · Uncontrolled Resource Consumption
Affects PillowSource CVE Database V5
Not known to be exploited · CVSS 7.1 High : upgrade to 13.0.0 soon.
Data as of 4 Dec 2026, 18:38 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 4.0 | 7.1 |
|---|
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 33% 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:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 21 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
| Product | Affected | Fixed in |
|---|---|---|
| python-pillowPillow | Affected
| Fixed in
|
PyPIpillowpkg:pypi/pillowOther threats | Affected
| Fixed in
|
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 according to the vendor advisory.
Description
A resource consumption vulnerability exists in python-pillow Pillow versions prior to 13.0.0. The SpiderImageFile.seek() function can reparse a later SPIDER stack frame and replace the image size without rerunning the decompression bomb check, allowing an attacker to declare very large image dimensions. This can cause excessive memory allocation, potentially consuming multiple gigabytes of memory. The issue is fixed in version 13.0.0.
References
- github.com/python-pillow/Pillow/security/advisories/GHSA-g842-9rc4-69pw (opens in a new tab)
- github.com/python-pillow/Pillow/pull/10076 (opens in a new tab)
- github.com/python-pillow/Pillow/commit/7cb0e02389d8aac2a60896a490f572db0b07b841 (opens in a new tab)
- github.com/python-pillow/Pillow/releases/tag/13.0.0 (opens in a new tab)