Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2026-96637
VULNERABILITY

CVE-2026-96637

Common Vulnerabilities and Exposures record

HIGH

Summary

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.

Risk

CVSS
7.1
Severity
HIGH
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

Timeline

Published
Oct 21, 2026 21:20
Modified
Oct 27, 2026 14:24
Last observed
Oct 27, 2026 11:00

CWE

CWE-400CWE-409

Affected product identifiers

cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*

References