CVE-2026-96642
Pillow is a Python imaging library. Prior to 13.0.0, the TarIO …
Pillow is a Python imaging library. Prior to 13.0.0, the TarIO initializer in src/PIL/TarIO.py accepts a negative octal member size and computes a backward seek that returns to the same 512-byte header. When the requested member name does not match, the parser repeatedly reads that header, consumes a full CPU core, and never returns. TarIO is reached only when an application directly uses PIL.TarIO.TarIO rather than the default Image.open() path. This issue is fixed in version 13.0.0.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/python-pillow/Pillow/commit/19b695fdcc5eddc37374e2b1645fc4185edaf71d
- github.com/python-pillow/Pillow/pull/10012
- github.com/python-pillow/Pillow/releases/tag/13.0.0
- github.com/python-pillow/Pillow/security/advisories/GHSA-3j72-p6qg-6xp7
- nvd.nist.gov/vuln/detail/CVE-2026-96642
- github.com/advisories/GHSA-3j72-p6qg-6xp7
- nvd.nist.gov/vuln/detail/CVE-2026-96642
- cve.org/CVERecord?id=CVE-2026-96642
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.