CVE Catalog

CVE-2026-11972

HighCVSS 8.2
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.45%

37th percentile - higher than 37% of all known CVEs

Summary

The tarfile module in Python, when used with a file opened in streaming mode (mode="r|"), did not properly handle EOF, causing archive parsing to take exponentially longer.

Risk Assessment

An attacker can provide a specially crafted tar archive that slows down the application using this feature, leading to denial of service (DoS).

Recommendation

Update Python to a version containing the fix for this vulnerability or avoid using streaming mode with untrusted archives.

Other vulnerabilities in Python tarfile module

See all
Original NVD description (English source)

When using the "tarfile" module with a file opened in "streaming mode" (mode="r|") the tarfile module did not properly handle EOF, making archive parsing take exponentially longer.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS