PT-2026-120820 · Pypi · Pillow
CVE-2026-96642
·
Published
2026-10-21
·
Updated
2026-10-22
CVSS v4.0
7.1
High
| Vector | AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Name of the Vulnerable Software and Affected Versions
Pillow versions prior to 13.0.0
Description
The
TarIO initializer in src/PIL/TarIO.py accepts a negative octal member size, causing a backward seek that returns to the same 512-byte header. If the requested member name does not match, the parser repeatedly reads the header, leading to full CPU core consumption and a hang. This issue occurs only when an application directly utilizes PIL.TarIO.TarIO instead of the default Image.open() path.Recommendations
Update to version 13.0.0.
As a temporary mitigation, restrict the direct use of the
PIL.TarIO.TarIO class.Exploit
Fix
DoS
Infinite Loop
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Pillow