StraitOfVuln
Latest / CVE-2026-96637

CVE-2026-96637

MediumCVSS 6.5 (v3.1)Analyzed
CVE.org ↗NVD ↗Vendor advisory ↗

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.

Details

CVE ID
CVE-2026-96637
Published / updated
21 Oct 2026, 21:20 UTC · last modified 27 Oct 2026, 14:24 UTC
Severity
MEDIUM
CVSS score
6.5 · v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H · Attack vector: Network
Affected vendor
Affected products
Pillow
Affected versions
Pillow: < 13.0.0
Fixed versions
pillow 13.0.0
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
0.37% probability of exploitation in the next 30 days · 33% percentile (03 Dec 2026)
Weakness
Remediation
Upgrade to a fixed release (pillow 13.0.0) per the vendor advisory.
Source (CNA)
security-advisories@github.com