Back
CVE-2026-11972
tarfile opened in streaming mode mishandles EOF
High8.2EPSS 0.71%
- Published
- Updated
- Reserved
- Assigned by
- PSF
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.
Timeline
ID reserved
By PSF
- 12 days later
· 12 days later
Published
- 51 days later
· 51 days later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| PSFCNA (assigner) | 4.0 | High8.2 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
| NVDNVD · Awaiting Analysis | 4.0 | High8.2 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
- EPSS (exploitation in 30 days)
- 0.71% · top 46% of all CVEs (7 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.2.
Weakness
Affected products
Python Software Foundation · CPython
- affected < 3.10.21
- affected 3.11.0 – < 3.11.16
- affected 3.12.0 – < 3.12.14
- affected 3.13.0 – < 3.13.15
- affected 3.14.0 – < 3.14.7
- affected 3.15.0a1 – < 3.15.0b4
References (10)
- https://github.com/python/cpython/issues/151981 (opens in a new tab)issue-tracking
- https://github.com/python/cpython/pull/151982 (opens in a new tab)patch
- https://mail.python.org/archives/list/[email protected]/thread/AXPSKKTSRKXTTJULW3XSIC74WZNAAPPB/ (opens in a new tab)vendor-advisory
- https://github.com/python/cpython/commit/3f031d431f80668e14f3bc066bbf4369cd9281b9 (opens in a new tab)patch
- https://github.com/python/cpython/commit/4ce6bf7c8aa7725828a38981c306f214c1f29365 (opens in a new tab)patch
- https://github.com/python/cpython/commit/7f0dc59c9a70f8f3b4da33d7c4a2ba552a7acc21 (opens in a new tab)patch
- https://github.com/python/cpython/commit/e86666c9dd256d52d0fbef6feb1ea4a51768fdec (opens in a new tab)patch
- https://github.com/python/cpython/commit/eb63c0f94dfcbea7fda8eab6213818e134d67192 (opens in a new tab)patch
- https://github.com/python/cpython/commit/f50bf13566189c8d0ce5a814f33eff3d89951896 (opens in a new tab)patch
- https://github.com/python/cpython/commit/f5e2776ff0383a902c12acf2b703e7e951fc8438 (opens in a new tab)patch
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2026-11972)Record last updated .