Infinite loop Affecting cpython package, versions [0,]


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.43% (35th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CONAN-CPYTHON-17705254
  • published30 Jun 2026
  • disclosed23 Jun 2026
  • creditUnknown

Introduced: 23 Jun 2026

NewCVE-2026-11972  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

Affected versions of this package are vulnerable to Infinite loop in the seek function of the tarfile module when processing tar archives in streaming mode. An attacker can cause the process to enter an infinite loop and exhaust system resources by providing a specially crafted archive that triggers improper end-of-file handling.

Workaround

This vulnerability can be mitigated by avoiding the use of tarfile streaming mode (mode='r|') with untrusted tar archives and using the standard file-based mode (mode='r') instead where possible.

CVSS Base Scores

version 4.0
version 3.1