CVE-2026-11972
HIGH 8.2 ALL-YEARSWhen 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.
Severe if exploited (CVSS 8.2); current sources show no confirmed exploitation. Consider exposure and affected versions when prioritizing remediation.
Exploitation likelihood
0.7%chance of exploitation in 30 days · 54th percentile
Impact if exploited
8.2CVSS 4.0 · HIGH · CNA
- ConfidentialityNone
- IntegrityNone
- AvailabilityHigh
What an attacker needs
- ✓Access: Reachable over the network — no local access needed
- ✓Privileges: No account or privileges required
- ✓User interaction: No user interaction needed
- ✓Complexity: No special conditions — reliably repeatable
- ⚠Requirements: Specific conditions must be present
✓ lowers the bar for an attacker · ⚠ raises it
Proof of concept
No public PoC is currently catalogued.
Search for new PoCs
Search GitHub now — results may be empty or unverified.
Supported CVE and PoC feeds are scheduled every 30 minutes, including for older CVEs. Other enrichment runs daily or weekly; source availability can delay updates. A later release appears after a tracked source lists it and a refresh succeeds.
Weakness (CWE)
- CWE-252: Unchecked Return Value
- CWE-606: Unchecked Input for Loop Condition
- CWE-770: Allocation without limits
CVSS vector
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
References and research data (JSON) · Change history
Vendor product assessments
Showing 32 of 325 vendor product statements; 293 omitted. Read the full vendor advisory.
python-unversioned-command-0:3.14.7-1.hum1@noarch@public-hummingbird-aarch64-rpms as a component of Red Hat Hardened Images · fixed
Vendor assessment for this product only.
pkg:rpm/redhat/python-unversioned-command@3.14.7-1.hum1?arch=noarch&distro=hummingbird-20251124&repository_id=public-hummingbird-aarch64-rpms
- vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://images.redhat.com/ Vendor guidance
- workaround: Avoid using tarfile streaming mode (mode='r|') with untrusted tar archives. Use the standard file-based mode (mode='r') instead where possible.
python3-idle-0:3.14.7-1.hum1@aarch64 as a component of Red Hat Hardened Images · fixed
Vendor assessment for this product only.
pkg:rpm/redhat/python3-idle@3.14.7-1.hum1?arch=aarch64&distro=hummingbird-20251124&repository_id=public-hummingbird-aarch64-rpms
- vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://images.redhat.com/ Vendor guidance
- workaround: Avoid using tarfile streaming mode (mode='r|') with untrusted tar archives. Use the standard file-based mode (mode='r') instead where possible.
python3.11-0:3.11.15-4.4.hum1@src as a component of Red Hat Hardened Images · fixed
Vendor assessment for this product only.
pkg:rpm/redhat/python3.11@3.11.15-4.4.hum1?arch=src&distro=hummingbird-20251124&repository_id=public-hummingbird-source-rpms
- vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://images.redhat.com/ Vendor guidance
- workaround: Avoid using tarfile streaming mode (mode='r|') with untrusted tar archives. Use the standard file-based mode (mode='r') instead where possible.
python3.11-libs-0:3.11.15-4.4.hum1@aarch64 as a component of Red Hat Hardened Images · fixed
Vendor assessment for this product only.
pkg:rpm/redhat/python3.11-libs@3.11.15-4.4.hum1?arch=aarch64&distro=hummingbird-20251124&repository_id=public-hummingbird-aarch64-rpms
- vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://images.redhat.com/ Vendor guidance
- workaround: Avoid using tarfile streaming mode (mode='r|') with untrusted tar archives. Use the standard file-based mode (mode='r') instead where possible.
python3.12-debug-0:3.12.13-3.3.hum1@aarch64 as a component of Red Hat Hardened Images · fixed
Vendor assessment for this product only.
pkg:rpm/redhat/python3.12-debug@3.12.13-3.3.hum1?arch=aarch64&distro=hummingbird-20251124&repository_id=public-hummingbird-aarch64-rpms
- vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://images.redhat.com/ Vendor guidance
- workaround: Avoid using tarfile streaming mode (mode='r|') with untrusted tar archives. Use the standard file-based mode (mode='r') instead where possible.
python3.12-test-0:3.12.13-3.3.hum1@aarch64 as a component of Red Hat Hardened Images · fixed
Vendor assessment for this product only.
pkg:rpm/redhat/python3.12-test@3.12.13-3.3.hum1?arch=aarch64&distro=hummingbird-20251124&repository_id=public-hummingbird-aarch64-rpms
- vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://images.redhat.com/ Vendor guidance
- workaround: Avoid using tarfile streaming mode (mode='r|') with untrusted tar archives. Use the standard file-based mode (mode='r') instead where possible.
python3.13-0:3.13.15-1.hum1@x86_64 as a component of Red Hat Hardened Images · fixed
Vendor assessment for this product only.
pkg:rpm/redhat/python3.13@3.13.15-1.hum1?arch=x86_64&distro=hummingbird-20251124&repository_id=public-hummingbird-x86_64-rpms
- vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://images.redhat.com/ Vendor guidance
- workaround: Avoid using tarfile streaming mode (mode='r|') with untrusted tar archives. Use the standard file-based mode (mode='r') instead where possible.
python3.13-devel-0:3.13.15-1.hum1@x86_64 as a component of Red Hat Hardened Images · fixed
Vendor assessment for this product only.
pkg:rpm/redhat/python3.13-devel@3.13.15-1.hum1?arch=x86_64&distro=hummingbird-20251124&repository_id=public-hummingbird-x86_64-rpms
- vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://images.redhat.com/ Vendor guidance
- workaround: Avoid using tarfile streaming mode (mode='r|') with untrusted tar archives. Use the standard file-based mode (mode='r') instead where possible.
python3.13-idle-0:3.13.14-1.2.hum1@aarch64 as a component of Red Hat Hardened Images · fixed
Vendor assessment for this product only.
pkg:rpm/redhat/python3.13-idle@3.13.14-1.2.hum1?arch=aarch64&distro=hummingbird-20251124&repository_id=public-hummingbird-aarch64-rpms
- vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://images.redhat.com/ Vendor guidance
- workaround: Avoid using tarfile streaming mode (mode='r|') with untrusted tar archives. Use the standard file-based mode (mode='r') instead where possible.
python3.13-test-0:3.13.14-1.2.hum1@aarch64 as a component of Red Hat Hardened Images · fixed
Vendor assessment for this product only.
pkg:rpm/redhat/python3.13-test@3.13.14-1.2.hum1?arch=aarch64&distro=hummingbird-20251124&repository_id=public-hummingbird-aarch64-rpms
- vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://images.redhat.com/ Vendor guidance
- workaround: Avoid using tarfile streaming mode (mode='r|') with untrusted tar archives. Use the standard file-based mode (mode='r') instead where possible.
python3.14-0:3.14.6-1.2.hum1@src as a component of Red Hat Hardened Images · fixed
Vendor assessment for this product only.
pkg:rpm/redhat/python3.14@3.14.6-1.2.hum1?arch=src&distro=hummingbird-20251124&repository_id=public-hummingbird-source-rpms
- vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://images.redhat.com/ Vendor guidance
- workaround: Avoid using tarfile streaming mode (mode='r|') with untrusted tar archives. Use the standard file-based mode (mode='r') instead where possible.
python3.14-freethreading-0:3.14.6-1.2.hum1@x86_64 as a component of Red Hat Hardened Images · fixed
Vendor assessment for this product only.
pkg:rpm/redhat/python3.14-freethreading@3.14.6-1.2.hum1?arch=x86_64&distro=hummingbird-20251124&repository_id=public-hummingbird-x86_64-rpms
- vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://images.redhat.com/ Vendor guidance
- workaround: Avoid using tarfile streaming mode (mode='r|') with untrusted tar archives. Use the standard file-based mode (mode='r') instead where possible.
python3.14-freethreading-devel-0:3.14.7-1.hum1@aarch64 as a component of Red Hat Hardened Images · fixed
Vendor assessment for this product only.
pkg:rpm/redhat/python3.14-freethreading-devel@3.14.7-1.hum1?arch=aarch64&distro=hummingbird-20251124&repository_id=public-hummingbird-aarch64-rpms
- vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://images.redhat.com/ Vendor guidance
- workaround: Avoid using tarfile streaming mode (mode='r|') with untrusted tar archives. Use the standard file-based mode (mode='r') instead where possible.
python3.14-freethreading-libs-0:3.14.7-1.hum1@aarch64 as a component of Red Hat Hardened Images · fixed
Vendor assessment for this product only.
pkg:rpm/redhat/python3.14-freethreading-libs@3.14.7-1.hum1?arch=aarch64&distro=hummingbird-20251124&repository_id=public-hummingbird-aarch64-rpms
- vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://images.redhat.com/ Vendor guidance
- workaround: Avoid using tarfile streaming mode (mode='r|') with untrusted tar archives. Use the standard file-based mode (mode='r') instead where possible.
python3.14-freethreading-tkinter-0:3.14.7-1.hum1@x86_64 as a component of Red Hat Hardened Images · fixed
Vendor assessment for this product only.
pkg:rpm/redhat/python3.14-freethreading-tkinter@3.14.7-1.hum1?arch=x86_64&distro=hummingbird-20251124&repository_id=public-hummingbird-x86_64-rpms
- vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://images.redhat.com/ Vendor guidance
- workaround: Avoid using tarfile streaming mode (mode='r|') with untrusted tar archives. Use the standard file-based mode (mode='r') instead where possible.
python3.14-tkinter-0:3.14.6-1.2.hum1@x86_64 as a component of Red Hat Hardened Images · fixed
Vendor assessment for this product only.
pkg:rpm/redhat/python3.14-tkinter@3.14.6-1.2.hum1?arch=x86_64&distro=hummingbird-20251124&repository_id=public-hummingbird-x86_64-rpms
- vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://images.redhat.com/ Vendor guidance
- workaround: Avoid using tarfile streaming mode (mode='r|') with untrusted tar archives. Use the standard file-based mode (mode='r') instead where possible.
exploit-intelligence-tech-preview/vulnerability-analysis-rhel9 as a component of Exploit Intelligence · known affected
Vendor assessment for this product only.
pkg:oci/vulnerability-analysis-rhel9?repository_url=registry.redhat.io/exploit-intelligence-tech-preview/vulnerability-analysis-rhel9
- workaround: Avoid using tarfile streaming mode (mode='r|') with untrusted tar archives. Use the standard file-based mode (mode='r') instead where possible.
- none available: Fix deferred
rhaiis/vllm-rocm-rhel9 as a component of Red Hat AI Inference Server · known affected
Vendor assessment for this product only.
pkg:oci/vllm-rocm-rhel9?repository_url=registry.redhat.io/rhaiis/vllm-rocm-rhel9
- workaround: Avoid using tarfile streaming mode (mode='r|') with untrusted tar archives. Use the standard file-based mode (mode='r') instead where possible.
- none available: Fix deferred
python-debug as a component of Red Hat Enterprise Linux 7 · known affected
Vendor assessment for this product only.
pkg:rpm/redhat/python-debug
- workaround: Avoid using tarfile streaming mode (mode='r|') with untrusted tar archives. Use the standard file-based mode (mode='r') instead where possible.
- none available: Fix deferred
python3.src as a component of Red Hat Enterprise Linux 7 · known affected
Vendor assessment for this product only.
pkg:rpm/redhat/python3?arch=src
- workaround: Avoid using tarfile streaming mode (mode='r|') with untrusted tar archives. Use the standard file-based mode (mode='r') instead where possible.
- none available: Fix deferred
python-pymongo.src (python36:3.6) as a component of Red Hat Enterprise Linux 8 · known affected
Vendor assessment for this product only.
pkg:rpm/redhat/python-pymongo?arch=src&rpmmod=python36:3.6
- workaround: Avoid using tarfile streaming mode (mode='r|') with untrusted tar archives. Use the standard file-based mode (mode='r') instead where possible.
- none available: Fix deferred
python3-nose (python36:3.6) as a component of Red Hat Enterprise Linux 8 · known affected
Vendor assessment for this product only.
pkg:rpm/redhat/python3-nose?rpmmod=python36:3.6
- workaround: Avoid using tarfile streaming mode (mode='r|') with untrusted tar archives. Use the standard file-based mode (mode='r') instead where possible.
- none available: Fix deferred
python3.12-devel as a component of Red Hat Enterprise Linux 8 · known affected
Vendor assessment for this product only.
pkg:rpm/redhat/python3.12-devel
- workaround: Avoid using tarfile streaming mode (mode='r|') with untrusted tar archives. Use the standard file-based mode (mode='r') instead where possible.
- none available: Fix deferred
scipy.src (python36:3.6) as a component of Red Hat Enterprise Linux 8 · known affected
Vendor assessment for this product only.
pkg:rpm/redhat/scipy?arch=src&rpmmod=python36:3.6
- workaround: Avoid using tarfile streaming mode (mode='r|') with untrusted tar archives. Use the standard file-based mode (mode='r') instead where possible.
- none available: Fix deferred
python3.12-test as a component of Red Hat Enterprise Linux 9 · known affected
Vendor assessment for this product only.
pkg:rpm/redhat/python3.12-test
- workaround: Avoid using tarfile streaming mode (mode='r|') with untrusted tar archives. Use the standard file-based mode (mode='r') instead where possible.
- none available: Fix deferred
python3.14-idle as a component of Red Hat Enterprise Linux 9 · known affected
Vendor assessment for this product only.
pkg:rpm/redhat/python3.14-idle
- workaround: Avoid using tarfile streaming mode (mode='r|') with untrusted tar archives. Use the standard file-based mode (mode='r') instead where possible.
- none available: Fix deferred
rhai/base-image-cpu-rhel9 as a component of Red Hat OpenShift AI (RHOAI) · known affected
Vendor assessment for this product only.
pkg:oci/base-image-cpu-rhel9?repository_url=registry.redhat.io/rhai/base-image-cpu-rhel9
- workaround: Avoid using tarfile streaming mode (mode='r|') with untrusted tar archives. Use the standard file-based mode (mode='r') instead where possible.
- none available: Fix deferred
rhoai/odh-caikit-tgis-serving-rhel9 as a component of Red Hat OpenShift AI (RHOAI) · known affected
Vendor assessment for this product only.
pkg:oci/odh-caikit-tgis-serving-rhel9?repository_url=registry.redhat.io/rhoai/odh-caikit-tgis-serving-rhel9
- workaround: Avoid using tarfile streaming mode (mode='r|') with untrusted tar archives. Use the standard file-based mode (mode='r') instead where possible.
- none available: Fix deferred
rhoai/odh-pipeline-runtime-datascience-cpu-py312-rhel9 as a component of Red Hat OpenShift AI (RHOAI) · known affected
Vendor assessment for this product only.
pkg:oci/odh-pipeline-runtime-datascience-cpu-py312-rhel9?repository_url=registry.redhat.io/rhoai/odh-pipeline-runtime-datascience-cpu-py312-rhel9
- workaround: Avoid using tarfile streaming mode (mode='r|') with untrusted tar archives. Use the standard file-based mode (mode='r') instead where possible.
- none available: Fix deferred
rhoai/odh-th06-cuda130-torch291-py312-rhel9 as a component of Red Hat OpenShift AI (RHOAI) · known affected
Vendor assessment for this product only.
pkg:oci/odh-th06-cuda130-torch291-py312-rhel9?repository_url=registry.redhat.io/rhoai/odh-th06-cuda130-torch291-py312-rhel9
- workaround: Avoid using tarfile streaming mode (mode='r|') with untrusted tar archives. Use the standard file-based mode (mode='r') instead where possible.
- none available: Fix deferred
rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9 as a component of Red Hat OpenShift AI (RHOAI) · known affected
Vendor assessment for this product only.
pkg:oci/odh-workbench-codeserver-datascience-cpu-py312-rhel9?repository_url=registry.redhat.io/rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9
- workaround: Avoid using tarfile streaming mode (mode='r|') with untrusted tar archives. Use the standard file-based mode (mode='r') instead where possible.
- none available: Fix deferred
ansible-automation-platform/bootc-automation-portal-rhel9 as a component of Self-service automation portal 2 · known affected
Vendor assessment for this product only.
pkg:oci/bootc-automation-portal-rhel9?repository_url=registry.redhat.io/ansible-automation-platform/bootc-automation-portal-rhel9
- workaround: Avoid using tarfile streaming mode (mode='r|') with untrusted tar archives. Use the standard file-based mode (mode='r') instead where possible.
- none available: Fix deferred
All CVSS metrics
- HIGH 8.2 v4.0 · CNA Primary
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 - HIGH 8.2 v4.0 · NVD Secondary
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
References
Patches & mitigations
- https://github.com/python/cpython/commit/3f031d431f80668e14f3bc066bbf4369cd9281b9 CVE record · PSF · Updated 2026-08-13T00:28:46.899Z
NVD · CVE-2026-11972 · Updated 2026-10-25T23:10:00.167 - https://github.com/python/cpython/commit/4ce6bf7c8aa7725828a38981c306f214c1f29365 CVE record · PSF · Updated 2026-08-13T00:28:46.899Z
NVD · CVE-2026-11972 · Updated 2026-10-25T23:10:00.167 - https://github.com/python/cpython/commit/7f0dc59c9a70f8f3b4da33d7c4a2ba552a7acc21 CVE record · PSF · Updated 2026-08-13T00:28:46.899Z
NVD · CVE-2026-11972 · Updated 2026-10-25T23:10:00.167 - https://github.com/python/cpython/commit/e86666c9dd256d52d0fbef6feb1ea4a51768fdec CVE record · PSF · Updated 2026-08-13T00:28:46.899Z
NVD · CVE-2026-11972 · Updated 2026-10-25T23:10:00.167 - https://github.com/python/cpython/commit/eb63c0f94dfcbea7fda8eab6213818e134d67192 CVE record · PSF · Updated 2026-08-13T00:28:46.899Z
NVD · CVE-2026-11972 · Updated 2026-10-25T23:10:00.167 - https://github.com/python/cpython/commit/f50bf13566189c8d0ce5a814f33eff3d89951896 CVE record · PSF · Updated 2026-08-13T00:28:46.899Z
NVD · CVE-2026-11972 · Updated 2026-10-25T23:10:00.167 - https://github.com/python/cpython/commit/f5e2776ff0383a902c12acf2b703e7e951fc8438 CVE record · PSF · Updated 2026-08-13T00:28:46.899Z
NVD · CVE-2026-11972 · Updated 2026-10-25T23:10:00.167 - https://github.com/python/cpython/pull/151982 CVE record · PSF · Updated 2026-08-13T00:28:46.899Z
NVD · CVE-2026-11972 · Updated 2026-10-25T23:10:00.167
Red Hat · CVE-2026-11972 · Updated 2026-11-05T17:00:57+00:00
Advisories
- https://mail.python.org/archives/list/security-announce@python.org/thread/AXPSKKTSRKXTTJULW3XSIC74WZNAAPPB/ CVE record · PSF · Updated 2026-08-13T00:28:46.899Z
NVD · CVE-2026-11972 · Updated 2026-10-25T23:10:00.167
Red Hat · CVE-2026-11972 · Updated 2026-11-05T17:00:57+00:00 - https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-11972.json Red Hat · CVE-2026-11972 · Updated 2026-11-05T17:00:57+00:00
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-38630 EUVD · EUVD-2026-38630
Technical & other
- https://github.com/python/cpython/issues/151981 CVE record · PSF · Updated 2026-08-13T00:28:46.899Z
NVD · CVE-2026-11972 · Updated 2026-10-25T23:10:00.167
Red Hat · CVE-2026-11972 · Updated 2026-11-05T17:00:57+00:00 - https://access.redhat.com/errata/RHSA-2026:35806 Red Hat · CVE-2026-11972 · Updated 2026-11-05T17:00:57+00:00
- https://access.redhat.com/errata/RHSA-2026:35807 Red Hat · CVE-2026-11972 · Updated 2026-11-05T17:00:57+00:00
- https://access.redhat.com/errata/RHSA-2026:35812 Red Hat · CVE-2026-11972 · Updated 2026-11-05T17:00:57+00:00
- https://access.redhat.com/errata/RHSA-2026:35813 Red Hat · CVE-2026-11972 · Updated 2026-11-05T17:00:57+00:00
- https://access.redhat.com/errata/RHSA-2026:54534 Red Hat · CVE-2026-11972 · Updated 2026-11-05T17:00:57+00:00
- https://access.redhat.com/errata/RHSA-2026:54554 Red Hat · CVE-2026-11972 · Updated 2026-11-05T17:00:57+00:00
- https://access.redhat.com/security/cve/CVE-2026-11972 Red Hat · CVE-2026-11972 · Updated 2026-11-05T17:00:57+00:00
- https://bugzilla.redhat.com/show_bug.cgi?id=2492050 Red Hat · CVE-2026-11972 · Updated 2026-11-05T17:00:57+00:00
- https://nvd.nist.gov/vuln/detail/CVE-2026-11972 Red Hat · CVE-2026-11972 · Updated 2026-11-05T17:00:57+00:00
- https://www.cve.org/CVERecord?id=CVE-2026-11972 Red Hat · CVE-2026-11972 · Updated 2026-11-05T17:00:57+00:00
Sources: NVD · CVE.org · All sources and attribution · EPSS