CVE-2026-96642: Python Pillow
Medium severity, CVSS 6.5. EPSS: 0.3% probability of exploitation activity in the next 30 days.
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
The record states a fixed version for the versions it affects. If you run one, update to it.
- Python Pillow, before 13.0.0: fixed in 13.0.0
Affected products
Affected packages
- pillow (PyPI)
Published 2026-10-21. Last modified 2026-10-30.