← Search CVEs

CVE-2026-11972

HIGH 8.2 ALL-YEARS

Published 2026-06-23 · Last modified 2026-08-13 · PSF · NVD: Awaiting Analysis

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.

ELEVATED IMPACT

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

○ In CISA KEV○ Catalogued PoC◆ SSVC: exploitation none, automatable no

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.

Affected

Vendors Python Software Foundation

Products CPython

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.
    Red Hat · CVE-2026-11972 · Updated 2026-11-05T17:00:57+00:00
  • 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.
    Red Hat · CVE-2026-11972 · Updated 2026-11-05T17:00:57+00:00
  • 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.
    Red Hat · CVE-2026-11972 · Updated 2026-11-05T17:00:57+00:00
  • 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.
    Red Hat · CVE-2026-11972 · Updated 2026-11-05T17:00:57+00:00
  • 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.
    Red Hat · CVE-2026-11972 · Updated 2026-11-05T17:00:57+00:00
  • 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.
    Red Hat · CVE-2026-11972 · Updated 2026-11-05T17:00:57+00:00
  • 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.
    Red Hat · CVE-2026-11972 · Updated 2026-11-05T17:00:57+00:00
  • 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.
    Red Hat · CVE-2026-11972 · Updated 2026-11-05T17:00:57+00:00
  • 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.
    Red Hat · CVE-2026-11972 · Updated 2026-11-05T17:00:57+00:00
  • 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.
    Red Hat · CVE-2026-11972 · Updated 2026-11-05T17:00:57+00:00
  • 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.
    Red Hat · CVE-2026-11972 · Updated 2026-11-05T17:00:57+00:00
  • 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.
    Red Hat · CVE-2026-11972 · Updated 2026-11-05T17:00:57+00:00
  • 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.
    Red Hat · CVE-2026-11972 · Updated 2026-11-05T17:00:57+00:00
  • 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.
    Red Hat · CVE-2026-11972 · Updated 2026-11-05T17:00:57+00:00
  • 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.
    Red Hat · CVE-2026-11972 · Updated 2026-11-05T17:00:57+00:00
  • 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.
    Red Hat · CVE-2026-11972 · Updated 2026-11-05T17:00:57+00:00
  • 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
    Red Hat · CVE-2026-11972 · Updated 2026-11-05T17:00:57+00:00
  • 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
    Red Hat · CVE-2026-11972 · Updated 2026-11-05T17:00:57+00:00
  • 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
    Red Hat · CVE-2026-11972 · Updated 2026-11-05T17:00:57+00:00
  • 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
    Red Hat · CVE-2026-11972 · Updated 2026-11-05T17:00:57+00:00
  • 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
    Red Hat · CVE-2026-11972 · Updated 2026-11-05T17:00:57+00:00
  • 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
    Red Hat · CVE-2026-11972 · Updated 2026-11-05T17:00:57+00:00
  • 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
    Red Hat · CVE-2026-11972 · Updated 2026-11-05T17:00:57+00:00
  • 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
    Red Hat · CVE-2026-11972 · Updated 2026-11-05T17:00:57+00:00
  • 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
    Red Hat · CVE-2026-11972 · Updated 2026-11-05T17:00:57+00:00
  • 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
    Red Hat · CVE-2026-11972 · Updated 2026-11-05T17:00:57+00:00
  • 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
    Red Hat · CVE-2026-11972 · Updated 2026-11-05T17:00:57+00:00
  • 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
    Red Hat · CVE-2026-11972 · Updated 2026-11-05T17:00:57+00:00
  • 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
    Red Hat · CVE-2026-11972 · Updated 2026-11-05T17:00:57+00:00
  • 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
    Red Hat · CVE-2026-11972 · Updated 2026-11-05T17:00:57+00:00
  • 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
    Red Hat · CVE-2026-11972 · Updated 2026-11-05T17:00:57+00:00
  • 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
    Red Hat · CVE-2026-11972 · Updated 2026-11-05T17:00:57+00:00

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

Advisories

Technical & other

Sources: NVD · CVE.org · All sources and attribution · EPSS