CVE
CVE-2026-11972
published high CVSS 4.0 · 8.2tarfile opened in streaming mode mishandles EOF
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Python Software Foundation | — | CPython0 to < 3.10.21 · 3.11.0 to < 3.11.16 · 3.12.0 to < 3.12.14 · 3.13.0 to < 3.13.15 · 3.14.0 to < 3.14.7 · 3.15.0a1 to < 3.15.0b4 · Other versions: unaffected | Affected | Not stated | PSF |
| Amazon Linux | AL2 | Release evaluationALAS2-2026-3810 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2 | Release evaluationALAS2-2026-3826 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1953 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1954 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1962 | Fixed | Not stated | Amazon Linux assessment |
Show 2 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1963 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-1964 | Fixed | Not stated | Amazon Linux assessment |
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.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.2 / 10
- Severity
- high
- Provider
- PSF · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Python Software Foundation | CPython | 0 to < 3.10.21 (affected · python)3.11.0 to < 3.11.16 (affected · python)3.12.0 to < 3.12.14 (affected · python)3.13.0 to < 3.13.15 (affected · python)3.14.0 to < 3.14.7 (affected · python)3.15.0a1 to < 3.15.0b4 (affected · python)Default: unaffected | PSF · cna |
Weaknesses
3- CWE-252
- CWE-606
- CWE-770
References
10- https://github.com/python/cpython/commit/3f031d431f80668e14f3bc066bbf4369cd9281b9
- https://github.com/python/cpython/commit/4ce6bf7c8aa7725828a38981c306f214c1f29365
- https://github.com/python/cpython/commit/7f0dc59c9a70f8f3b4da33d7c4a2ba552a7acc21
- https://github.com/python/cpython/commit/e86666c9dd256d52d0fbef6feb1ea4a51768fdec
- https://github.com/python/cpython/commit/eb63c0f94dfcbea7fda8eab6213818e134d67192
- https://github.com/python/cpython/commit/f50bf13566189c8d0ce5a814f33eff3d89951896
- https://github.com/python/cpython/commit/f5e2776ff0383a902c12acf2b703e7e951fc8438
- https://github.com/python/cpython/issues/151981
- https://github.com/python/cpython/pull/151982
- https://mail.python.org/archives/list/[email protected]/thread/AXPSKKTSRKXTTJULW3XSIC74WZNAAPPB/
Provider assertions
2PSF · cna
tarfile opened in streaming mode mishandles EOF
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c7b155e548482e109b1c40aadeb4e7a29aaa43f20b998846d52468904f3c602a
- Ingested
- 23 Sep 2026, 09:00:57 UTC
- Source record
- Official CVE record