Unrated severityNVD Advisory· Published Jun 23, 2026
tarfile opened in streaming mode mishandles EOF
CVE-2026-11972
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
1Patches
Vulnerability mechanics
No source-code context for this CVE — mechanics is only generated when we can read the actual fix diff. Without that, the four sections (root cause, attack vector, affected code, fix) would be speculation rather than analysis.
References
3- github.com/python/cpython/pull/151982mitrepatch
- mail.python.org/archives/list/security-announce@python.org/thread/AXPSKKTSRKXTTJULW3XSIC74WZNAAPPB/mitrevendor-advisory
- github.com/python/cpython/issues/151981mitreissue-tracking
News mentions
0No linked articles in our index yet.