CVE-2026-96637
Pillow is a Python imaging library.
- Severity: High
- CVSS 7.1
- EPSS 0.33%
- P3 · Planned
Why P3: planned.
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.
Affected products
- pip pillow < 13.0.0; first patched: 13.0.0
Weakness
CVSS vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
References
- NVD record NVD
- CVE Program record CVE Program
- Reference NVD
- Reference NVD
- Reference NVD
- Reference NVD
- GitHub security advisory GitHub