CVE-2026-11972
NoneCVSS
—
EPSS
0.7%
Published
Jun 23, 2026
CISA due date
—
Cloudanix analysis
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
- Locate an application or service that uses Python tarfile.open with mode='r|' on externally supplied data
- Generate a tar archive engineered to force repeated EOF re-scans
- Deliver the archive via upload, download, or API ingestion path
- 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
- CVE-2026-115403 In Eclipse ThreadX NetX Duo versions 6.0 through 6.5.2.202603a, built with BSD raw socket… CWE-252
- CVE-2026-114408 In Eclipse ThreadX NetX Duo versions 6.4.5.202504 through 6.5.2.202603a, built with IPv6… CWE-252
- CVE-2026-118263 Echo is a Go web framework. CWE-252
- CVE-2026-111497 A buffer overflow vulnerability in the Brotli decoder (c/dec/decode.c) in Google Brotli… CWE-252
- CVE-2026-110353 HAProxy 3.2 before 3.4.6 allows a remote unauthenticated attacker to cause a denial of… CWE-252
- CVE-2026-56388 The Redis server command parser in Apache bRPC accepts an empty RESP array as a command… CWE-252
- CVE-2026-106436 The BSON encoder in the MongoDB PHP Driver does not check some return values after a… CWE-252
- CVE-2026-98141 In the Linux kernel, the following vulnerability has been resolved: ntfs: propagate… CWE-252