CVE-2026-96637: Pillow - Denial of Service
- Cve: CVE-2026-96637
- Name: Pillow - Denial of Service
- Description: Pillow is a Python imaging library. Prior to 13.0.0, SpiderImageFile.seek() in src/PIL/SpiderImagePlugin.py reparses a later SPIDER stack frame and replaces self._size without rerunning Image._decompression_bomb_check(). A tiny file can use a safe first frame to pass Image.open() and then declare very large dimensions in a later mode F frame. Loading that frame allocates approximately four bytes per attacker-declared pixel and can consume multiple gigabytes of memory. This issue is fixed in version 13.0.0.
- Impact: Attackers can cause excessive memory consumption leading to denial of service by loading crafted images.
- Remediation: Update to version 13.0.0 or later.
- Vulnerability type: denial_of_service
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- Epss score: 0.00373
- Epss percentile: 0.31674
- Assignee: [email protected]
- Published at: 2026-10-21T21:20:31Z
- Age in days: 34
- Modified at: 2026-10-27T14:24:56Z
- Patch available: yes
- References total: 4
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-96637
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-400 | Uncontrolled Resource Consumption |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| python:pillow | < 13.0.0 | no | nvd | /v1/products/python/pillow |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| python-pillow/Pillow | commit, fix, package, pull, releases, security_advisory | yes | /v1/repositories/python-pillow/Pillow |
Index
- Repositories: 3363
- Repositories high signal: 2013
- Packages: 1
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts