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.
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 4.0 | HIGH | 28c92f92-d60d-412d-b760-e73465c3df22 |
Solution
- 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.