VDB
CVE-2026-96637
CVE-2026-96637
PUBLISHED
CVSS 7.1 HIGH
Reported by GitHub_M · Published October 21, 2026
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 Scores
CVSS 4.0
7.1
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
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| python-pillow | Pillow | < 13.0.0 |
| PyPI | Pillow | 0 |
| chainguard | nemo-rl-cuda-13.0 | 0 |
| chainguard | py3-pytorch-cuda-13.0 | 0 |
| chainguard | superset-fips-6.1 | 0 |
| chainguard | nemo-gym | 0 |
| python-pillow | Pillow | 0 |
Timeline
- Oct 21, 2026 CVE Published
- Oct 22, 2026 EPSS Score
- Oct 22, 2026 Coalition ESS Score
- Oct 25, 2026 EPSS Score
- Oct 27, 2026 CVE Updated
- Oct 29, 2026 EPSS Score
- Oct 30, 2026 Security Advisory
References
- https://github.com/python-pillow/Pillow/security/advisories/GHSA-g842-9rc4-69pw x_refsource_CONFIRM
- https://github.com/python-pillow/Pillow/pull/10076 x_refsource_MISC
- https://github.com/python-pillow/Pillow/commit/7cb0e02389d8aac2a60896a490f572db0b07b841 x_refsource_MISC
- https://github.com/python-pillow/Pillow/releases/tag/13.0.0 x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2026-96637 advisory
- https://github.com/advisories/GHSA-g842-9rc4-69pw advisory