Skip to content
CVE PROGRAM SOURCE RECORD8.2 High

CVE-2026-11972

tarfile opened in streaming mode mishandles EOF

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Python Software Foundation CPython

Default version status: unaffected

  • 0 to < 3.10.21affected
  • 3.11.0 to < 3.11.16affected
  • 3.12.0 to < 3.12.14affected
  • 3.13.0 to < 3.13.15affected
  • 3.14.0 to < 3.14.7affected
  • 3.15.0a1 to < 3.15.0b4affected

References