CVE-2026-11972

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.

Affected Software

VendorProductVersion RangeStatus
Python Software FoundationCPython0 < 3.10.21affected
Python Software FoundationCPython3.11.0 < 3.11.16affected
Python Software FoundationCPython3.12.0 < 3.12.14affected
Python Software FoundationCPython3.13.0 < 3.13.15affected
Python Software FoundationCPython3.14.0 < 3.14.7affected
Python Software FoundationCPython3.15.0a1 < 3.15.0b4affected

Weaknesses

  • CWE-252: CWE-252
  • CWE-606: CWE-606
  • CWE-770: CWE-770

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: none
    • Automatable: no
    • Technical Impact: partial

References