Vulnerability
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.
44 advisories report this vulnerability, across 8 ecosystems.
Advisories
- CGA-4f55-2xc4-54f3
- CGA-52r8-hfcp-65g9
- CGA-57qr-6g4w-4wgx
- CGA-6262-4qmj-q7p6
- CGA-6ppx-xxjm-r4q7
- CGA-742q-g2jv-mqwm
- CGA-7hqr-3jm3-h9wp
- CGA-8rgf-5jhv-34mm
- CGA-8wvm-qg5p-cvww
- CGA-96h8-67f7-96m2
- CGA-9jpx-4v6r-q8v8
- CGA-cfc8-xhgc-jrj4
- CGA-cvmr-xh5q-78xc
- CGA-gp33-392c-28c2
- CGA-h7cm-j56j-q2mm
- CGA-hjwr-g2v6-x3xv
- CGA-j3wg-hw34-xpwq
- CGA-jmv7-2prh-g33q
- CGA-jpr5-m9h3-4m8r
- CGA-m5wr-r667-ph7v
- CGA-q93g-jqv4-gxm4
- CGA-rm59-6j5m-pxvj
- CGA-v3cm-c645-2j9h
- CGA-vpgr-fcv7-3m3r
- CGA-vrhr-8h33-r577
- CGA-w6h7-wgvm-5hwx
- CGA-wp45-4wv8-9c66
- CGA-x3qw-8p9g-8fv9
- CGA-xc6q-c928-fghg
- CGA-xc9v-p4mm-cx5r
- CGA-xjp4-93fr-m4p8
- CGA-xqhm-9h34-cm5g
-
DEBIAN-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…
-
GHSA-g842-9rc4-69pw
Pillow: Decompression bomb check bypass in SpiderImagePlugin.seek() leads to unbounded allocation DoS
-
PYSEC-2026-4338
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…
-
RHVEX-CVE-2026-96637
pillow: pillow: Denial of Service via decompression bomb bypass in SPIDER images
-
SUSE-SU-2026:24656-1
Security update for python-Pillow
-
SUSE-SU-2026:24701-1
Security update for python-Pillow
-
SUSE-SU-2026:5038-1
Security update for python-Pillow
-
SUSE-SU-2026:5194-1
Security update for python-Pillow
-
UBUNTU-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…
-
USN-9064-1
pillow vulnerabilities
-
openSUSE-SU-2026:22246-1
Security update for python-Pillow
-
openSUSE-SU-2026:22301-1
Security update for python-Pillow