A AegiFlow
HIGHCVSS 7.1EPSS 0.3%

CVE-2026-96637

CVE-2026-96637 updated by NVD

Published
2026-10-22
Modified
2026-10-29
EPSS percentile
25%
Sources
github-advisory, nvd

Summary

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.

Affected packages

EcosystemPackageAffected versionsFixed versions
PyPIpillow—13.0.0

Remediation: Upgrade to 13.0.0 or later.

References

Includes data from the GitHub Advisory Database, licensed under CC-BY 4.0.

Includes data from the National Vulnerability Database (NIST). NVD data is in the public domain; this page is not endorsed by NIST.

CVE® is a registered trademark of The MITRE Corporation. CVE content reproduced under the CVE Terms of Use; copyright designation © MITRE.

EPSS scores provided by the FIRST.org Exploit Prediction Scoring System.