CVE-2026-11972: Python Software Foundation CPython · CWE-252
Affects Python Software Foundation CPythonSource CVE Database V5
Not known to be exploited · CVSS 8.2 High · fixed in 3.15.0b4 : patch Python Software Foundation CPython soon.
Data as of 5 Nov 2026, 23:24 UTC
- EPSS
- 0.7% chance of exploitation in 30 days – higher than 53% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 3.15.0b4, 3.14.7, 3.13.15 +3
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 23 Jun 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 6 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Python Software FoundationCPython | Affected
| Fixed in
|
| Python Software FoundationCPython | Affected
| Fixed in
|
| Python Software FoundationCPython | Affected
| Fixed in
|
| Python Software FoundationCPython | Affected
| Fixed in
|
| Python Software FoundationCPython | Affected
| Fixed in
|
| Python Software FoundationCPython | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
If you cannot patch yet, users should avoid using the tarfile module in streaming mode with untrusted archives or implement additional timeout or resource usage limits in their applications to mitigate potential performance impacts.
Description
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.
References
- github.com/python/cpython/issues/151981 (opens in a new tab)
- github.com/python/cpython/pull/151982 (opens in a new tab)
- mail.python.org/archives/list/security-announce@python.org/thread/AXPSKKTSRKXTTJULW3XSIC74WZNAAPPB/ (opens in a new tab)
- github.com/python/cpython/commit/3f031d431f80668e14f3bc066bbf4369cd9281b9 (opens in a new tab)
- github.com/python/cpython/commit/4ce6bf7c8aa7725828a38981c306f214c1f29365 (opens in a new tab)
- github.com/python/cpython/commit/7f0dc59c9a70f8f3b4da33d7c4a2ba552a7acc21 (opens in a new tab)
- github.com/python/cpython/commit/e86666c9dd256d52d0fbef6feb1ea4a51768fdec (opens in a new tab)
- github.com/python/cpython/commit/eb63c0f94dfcbea7fda8eab6213818e134d67192 (opens in a new tab)
- github.com/python/cpython/commit/f50bf13566189c8d0ce5a814f33eff3d89951896 (opens in a new tab)
- github.com/python/cpython/commit/f5e2776ff0383a902c12acf2b703e7e951fc8438 (opens in a new tab)