Cloudanix VulnDB

CVE-2026-11972

None

CVSS

—

EPSS

0.7%

Published

Jun 23, 2026

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

Software that reads certain tar archive files can slow down dramatically or stop responding, which may interrupt any service that accepts such files from outside sources.

Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Moderate
Impact
Denial Of Service
Component
Library
Class
Denial of service
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

The tarfile module fails to correctly handle EOF markers when opened in streaming mode (r|), causing archive parsing to exhibit exponential time complexity and exhaust CPU resources.

Why it matters to the business

Services or applications that process untrusted tar archives in streaming mode can experience severe slowdowns or hangs, leading to denial of service; risk remains low given stable low EPSS, absence from KEV, and no known campaigns.

How an attack unfolds

An attacker supplies a specially crafted tar archive that triggers repeated EOF mishandling during streaming parse; the resulting exponential computation starves CPU on the target process with no authentication required.

How to fix it

Upgrade Python to the patched release that corrects tarfile EOF handling in streaming mode; until then, replace streaming mode usage with non-streaming extraction or enforce strict processing timeouts and size limits on untrusted archives.

How to confirm the fix worked

Measure parse duration on known trigger archives before and after upgrade to confirm linear rather than exponential behavior; audit code for tarfile.open calls using mode='r|' and verify timeouts are present.

Typical attack path

  1. Locate an application or service that uses Python tarfile.open with mode='r|' on externally supplied data
  2. Generate a tar archive engineered to force repeated EOF re-scans
  3. Deliver the archive via upload, download, or API ingestion path
  4. Trigger parsing to induce prolonged CPU consumption and service degradation

How to detect it

Search application and system logs for Python processes exhibiting unusually long execution times or high sustained CPU while handling tarfile operations; correlate with incoming archive ingestion events.

What your security team should do

  • Inventory all Python code paths that open tar archives in streaming mode
  • Apply the next Python security update containing the tarfile fix
  • Add CPU and wall-clock timeouts around all untrusted archive processing
  • Re-evaluate exposure if EPSS rises or the CVE appears in KEV

The record

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.

Affected packages

Ecosystem Package Introduced Fixed

Related vulnerabilities