CVE-2026-96637
mediumPillow is a Python imaging library.
Vendor / product: Python — pillow
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.
CVSS
6.5
6.5 (CVSS v3.1)
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H Severity source: NVD CVSS v3.1 (nvd@nist.gov)
Timeline (UTC)
Published: 2026-10-21 21:20
Modified: 2026-10-27 14:24
NVD status: Analyzed
Last synced 18 hours ago
Verified against the source API 2026-10-28 11:30 UTC
Exploitation
Not listed in CISA KEV (as of last catalog sync)
Absence from KEV does not mean a CVE is not exploited. Exploitation status: unknown (no authoritative evidence in our sources).
Affected products
python / pillow <13.0.0
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
References
- https://github.com/python-pillow/Pillow/commit/7cb0e02389d8aac2a60896a490f572db0b07b841 security-advisories@github.com
- https://github.com/python-pillow/Pillow/pull/10076 security-advisories@github.com
- https://github.com/python-pillow/Pillow/releases/tag/13.0.0 security-advisories@github.com
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-g842-9rc4-69pw security-advisories@github.com
Data sources
NVD CVE API 2.0 — fetched 2026-10-28 11:30 UTC · record ↗
