CVE-2026-96637: Pillow: Decompression bomb check bypass in SpiderImagePlugin.seek() leads to unbounded allocation DoS
SpiderImagePlugin’s seek() bypasses the decompression bomb check, allowing a tiny (<1KB) crafted SPIDER stack file to trigger a multi-gigabyte allocation on im.load().
References
- github.com/advisories/GHSA-g842-9rc4-69pw
- github.com/python-pillow/Pillow/commit/7cb0e02389d8aac2a60896a490f572db0b07b841
- github.com/python-pillow/Pillow/pull/10076
- github.com/python-pillow/Pillow/releases/tag/13.0.0
- github.com/python-pillow/Pillow/security/advisories/GHSA-g842-9rc4-69pw
- nvd.nist.gov/vuln/detail/CVE-2026-96637
Code Behaviors & Features
Detect and mitigate CVE-2026-96637 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →