CVE-2026-11972 json
tarfile opened in streaming mode mishandles EOF
published 2026-06-23 4 mo ago modified 2026-10-25 14 d ago also BIT-libpython-2026-11972 , BIT-python-2026-11972 , BIT-python-min-2026-11972 , EUVD-2026-38630
- cvss
- 8.2
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 54%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- bitnami libpython 3.10.21, 3.11.16, 3.12.14, 3.13.15, 3.14.7
- bitnami python 3.10.21, 3.11.16, 3.12.14, 3.13.15, 3.14.7
- bitnami python-min 3.10.21, 3.11.16, 3.12.14, 3.13.15, 3.14.7
- Python Software Foundation CPython 3.10.21, 3.11.16, 3.12.14, 3.13.15, 3.14.7, 3.15.0b4
- pypy3 Debian 14 8.0.0+dfsg-1
- python3.13 Debian 13 3.13.5-2+deb13u5
- python3.14 Debian 14 3.14.7-1
debian advisories DEBIAN-CVE-2026-11972
- python3.13 hummingbird 1 3.13.15-1.hum1
- python3.13-idle hummingbird 1 3.13.15-1.hum1
- python3.13-libs hummingbird 1 3.13.15-1.hum1
- python3.13-test hummingbird 1 3.13.15-1.hum1
- python3.13-tkinter hummingbird 1 3.13.15-1.hum1
- python3.13-freethreading hummingbird 1 3.13.15-1.hum1
- python3 hummingbird 1 3.14.7-1.hum1
- python3.14 hummingbird 1 3.14.7-1.hum1
red hat advisories RHSA-2026:54554RHSA-2026:54534RHSA-2026:35812RHSA-2026:35813RHSA-2026:35806RHSA-2026:35807
- python3 SLES for SAP 15 SP6, SLES for SAP 15 SP5, SLES for SAP 15 SP4 +11 more 3.6.15-150300.10.129.1
- python3-core SLES for SAP 15 SP6, SLES for SAP 15 SP5, SLES for SAP 15 SP4 +12 more 3.6.15-150300.10.129.1
- grafana Multi Linux Manager Tools SLE-15 12.4.10-150002.4.27.1
- mgr-push Multi Linux Manager Tools SLE-15 5.2.5-150002.3.12.1
- spacecmd Multi Linux Manager Tools SLE-15 5.2.10-150002.3.15.1
- uyuni-tools Multi Linux Manager Tools SLE-Micro-5, Multi Linux Manager Tools SLE-15 5.2.17-150002.3.20.1
- venv-salt-minion Multi Linux Manager Tools SLE-Micro-5, Multi Linux Manager Tools SLE-15 3006.0-150002.5.22.1
- spacewalk-client-tools Multi Linux Manager Tools SLE-15 5.2.7-150002.3.12.1
suse advisories SUSE-SU-2026:4754-1SUSE-SU-2026:4585-1SUSE-SU-2026:4584-1SUSE-SU-2026:4583-1SUSE-SU-2026:4582-1SUSE-SU-2026:4581-1
- python314 openSUSE Tumbleweed 3.14.7-1.1
- python313 openSUSE Leap 16.0 3.13.14-160000.2.1
- python313-core openSUSE Leap 16.0 3.13.14-160000.2.1
- python313-nogil openSUSE Leap 16.0 3.13.14-160000.2.1
- python313-documentation openSUSE Leap 16.0 3.13.14-160000.2.1
- python313-nogil-nogil-core openSUSE Leap 16.0 3.13.14-160000.2.1
- python313 openSUSE Tumbleweed 3.13.14-2.1
- python310 openSUSE Tumbleweed 3.10.20-8.1
opensuse advisories openSUSE-SU-2026:11597-1openSUSE-SU-2026:21595-1openSUSE-SU-2026:11534-1openSUSE-SU-2026:11426-1openSUSE-SU-2026:11427-1openSUSE-SU-2026:11428-1
- python3 Alpine 3.23, Alpine 3.22, Alpine 3.21 3.12.14-r0
- python3 Alpine 3.24 3.14.7-r0
alpine advisories ALPINE-CVE-2026-11972
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- github.com/python/cpython@3f031d4 commit
- github.com/python/cpython@4ce6bf7 commit
- github.com/python/cpython@7f0dc59 commit
- github.com/python/cpython@e86666c commit
- github.com/python/cpython@eb63c0f commit
- github.com/python/cpython@f50bf13 commit
- github.com/python/cpython@f5e2776 commit
- github.com/python/cpython#151982 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-11972 updated cvss 6.5
python: Python tarfile module: Denial of Service via improper EOF handling in streaming mode
-
Red Hat Exploit Intelligence exploit-intelligence-tech-preview/vulnerability-analysis-rhel9 Red Hat AI Inference Server rhaii/vllm-cpu-rhel9, rhaii/vllm-tpu-rhel9, rhaii/vllm-cuda-rhel9, rhaii/vllm-rocm-rhel9, rhaiis/vllm-cpu-rhel9, rhaiis/vllm-tpu-rhel9, +9 more Red Hat Enterprise Linux 6 python, tkinter, python-libs, python-test, python-tools Red Hat Enterprise Linux 7 python, python3, tkinter, python-libs, python-test, python-tools, +4 more Red Hat Enterprise Linux 8 scipy, python3, python36, python3.12, python-nose, python-wheel, +31 more Red Hat Enterprise Linux 9 python3, python3.9, python3.12, python3.14, python3-idle, python3-libs, +16 moreaffected: workaround, no fix available “Avoid using tarfile streaming mode (mode='r|') with untrusted tar archives. Use the standard file-based mode (mode='r') instead where possible.”
+6 more productsfewer
Red Hat Enterprise Linux 10 python3.12, python3.14 Red Hat Enterprise Linux AI (RHEL AI) 3 rhelai3/bootc-cuda-rhel9, rhelai3/bootc-rocm-rhel9, rhelai3/bootc-gaudi-rhel9, rhelai3/bootc-aws-cuda-rhel9, rhelai3/bootc-gcp-cuda-rhel9, rhelai3/bootc-azure-cuda-rhel9, +1 more Red Hat OpenShift AI (RHOAI) rhoai/odh-automl-rhel9, rhoai/odh-mlflow-rhel9, rhoai/odh-autorag-rhel9, rhoai/odh-mlserver-rhel9, rhai/base-image-cpu-rhel9, rhai/base-image-tpu-rhel9, +57 more Red Hat OpenShift Dev Spaces devspaces/code-rhel9 Red Hat OpenShift Virtualization 4 container-native-virtualization/ocp-virt-validation-checkup-rhel9 Red Hat Self-service automation portal 2 ansible-automation-platform/bootc-automation-portal-rhel9 -
Red Hat Hardened Images python3 3.14.7-1.hum1, python3.14 3.14.7-1.hum1, python3.13 3.13.15-1.hum1, python3-idle 3.14.7-1.hum1, python3-libs 3.14.7-1.hum1, python3-test 3.14.7-1.hum1, +38 morefixed: vendor fix “Avoid using tarfile streaming mode (mode='r|') with untrusted tar archives. Use the standard file-based mode (mode='r') instead where possible.” RHSA-2026:54534
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 4 mo ago
Exploit prediction
0.71% chance of exploitation in the next 30 days, higher than 54% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 8.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 |
| CNA | 4.0 | 8.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 |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | libpython | <3.10.21 >=3.11.0, <3.11.16 >=3.12.0, <3.12.14 >=3.13.0, <3.13.15 >=3.14.0, <3.14.7 |
3.10.21 3.11.16 3.12.14 3.13.15 3.14.7 |
| bitnami | python | <3.10.21 >=3.11.0, <3.11.16 >=3.12.0, <3.12.14 >=3.13.0, <3.13.15 >=3.14.0, <3.14.7 |
3.10.21 3.11.16 3.12.14 3.13.15 3.14.7 |
| bitnami | python-min | <3.10.21 >=3.11.0, <3.11.16 >=3.12.0, <3.12.14 >=3.13.0, <3.13.15 >=3.14.0, <3.14.7 |
3.10.21 3.11.16 3.12.14 3.13.15 3.14.7 |
Affected products
- Python Software Foundation CPython
Classification
References
-
github.com
/python/cpython/pull/151982
patch, web
-
github.com
/python/cpython/commit/3f031d431f80668e14f3bc066bbf4369cd9281b9
patch, web
-
github.com
/python/cpython/commit/4ce6bf7c8aa7725828a38981c306f214c1f29365
patch, web
-
github.com
/python/cpython/commit/7f0dc59c9a70f8f3b4da33d7c4a2ba552a7acc21
patch, web
-
github.com
/python/cpython/commit/e86666c9dd256d52d0fbef6feb1ea4a51768fdec
patch, web
-
github.com
/python/cpython/commit/eb63c0f94dfcbea7fda8eab6213818e134d67192
patch, web
-
github.com
/python/cpython/commit/f50bf13566189c8d0ce5a814f33eff3d89951896
patch, web
-
github.com
/python/cpython/commit/f5e2776ff0383a902c12acf2b703e7e951fc8438
patch, web
-
mail.python.org
/archives/list/security-announce@python.org/thread/AXPSKKTSRKXTTJULW3XSIC74WZNAAPPB/
vendor-advisory, web
-
github.com
/python/cpython/issues/151981
issue-tracking, web
-
nvd.nist.gov
/vuln/detail/CVE-2026-11972
web
Sources
- CVE List CVE-2026-11972
- NVD CVE-2026-11972
- OSV BIT-libpython-2026-11972
- OSV BIT-python-2026-11972
- OSV BIT-python-min-2026-11972
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.