CVE-2026-96637CWE-400CWE-409denial-of-service
CVE-2026-96637
published October 22, 2026
What it is
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.
The record
Technical detail
- CVSS
- 7.1 · NONE
- CVSS v4.0
- 7.1 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
- EPSS
- 0.00333 · 25.4th percentile
- Weaknesses
- CWE-400 · Uncontrolled Resource Consumption; CWE-409 · Improper Handling of Highly Compressed Data (Data Amplification)
- Published
- 2026-10-22T01:20Z
References (4)
EPSS history
Timeline
23 OCT 04:10Z
EPSS moved — → 0%
epss
21 OCT 21:01Z
Pillow: Decompression bomb check bypass in SpiderImagePlugin.seek() leads to unbounded allocation DoS
cvelistv5
21 OCT 21:01Z
Pillow: Decompression bomb check bypass in SpiderImagePlugin.seek() leads to unbounded allocation DoS
cvelistv5