CVE-2026-96642

HIGH CVSS 4.0: 7.1 EPSS 0.34%
Updated Oct 27, 2026
Python
Parameter Value
CVSS 7.1 (HIGH)
Affected Versions before 13.0.0
Fixed In 13.0.0
Type CWE-835
Vendor Python
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
None
No privileges needed
User Interaction
Passive
Minimal interaction

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
High
Complete denial of service

CVSS Vector v4.0

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Python Pillow
cpe:2.3:a:python:pillow:*:*:*:*:*:*:*:*
— 13.0.0