8.2
HIGH CVSS 4.0
CVE-2026-11972
tarfile opened in streaming mode mishandles EOF
Description

When using the "tarfile" module with a file opened in "streaming mode" (mode="r|") the tarfile module did not properly handle EOF, meaning an archive could be parsed in an infinite loop.

INFO

Published Date :

June 23, 2026, 10:02 p.m.

Last Modified :

June 23, 2026, 10:02 p.m.

Remotely Exploit :

Yes !

Source :

PSF
Affected Products

The following products are affected by CVE-2026-11972 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Python_software_foundation cpython
1 Python cpython
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 4.0 HIGH 28c92f92-d60d-412d-b760-e73465c3df22
Solution
Update the Python interpreter to fix an infinite loop vulnerability in tarfile module.
  • Update Python interpreter to a patched version.
  • Avoid using tarfile in streaming mode.
  • Review tarfile usage for potential infinite loops.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-11972 vulnerability anywhere in the article.

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.