CVE-2026-96637

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.
Configurations

Configuration 1 (hide)

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

History

27 Oct 2026, 14:24

Type Values Removed Values Added
CPE cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 6.5
References () https://github.com/python-pillow/Pillow/commit/7cb0e02389d8aac2a60896a490f572db0b07b841 - () https://github.com/python-pillow/Pillow/commit/7cb0e02389d8aac2a60896a490f572db0b07b841 - Patch
References () https://github.com/python-pillow/Pillow/pull/10076 - () https://github.com/python-pillow/Pillow/pull/10076 - Issue Tracking
References () https://github.com/python-pillow/Pillow/releases/tag/13.0.0 - () https://github.com/python-pillow/Pillow/releases/tag/13.0.0 - Release Notes
References () https://github.com/python-pillow/Pillow/security/advisories/GHSA-g842-9rc4-69pw - () https://github.com/python-pillow/Pillow/security/advisories/GHSA-g842-9rc4-69pw - Vendor Advisory
First Time Python
Python pillow

21 Oct 2026, 21:20

Type Values Removed Values Added
New CVE

Information

Published : 2026-10-21 21:20

Updated : 2026-10-27 14:24


NVD link : CVE-2026-96637

Mitre link : CVE-2026-96637

CVE.ORG link : CVE-2026-96637


JSON object : View

Products Affected

python

  • pillow
CWE
CWE-400

Uncontrolled Resource Consumption

CWE-409

Improper Handling of Highly Compressed Data (Data Amplification)