CVE-2025-8194 Affecting python-3.13 package, versions <3.13.6-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.09% (27th 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-CHAINGUARDLATEST-PYTHON313-11785505
  • published13 Aug 2025
  • disclosed28 Jul 2025

Introduced: 28 Jul 2025

NewCVE-2025-8194  (opens in a new tab)

How to fix?

Upgrade Chainguard python-3.13 to version 3.13.6-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python-3.13 package and not the python-3.13 package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

There is a defect in the CPython “tarfile” module affecting the “TarFile” extraction and entry enumeration APIs. The tar implementation would process tar archives with negative offsets without error, resulting in an infinite loop and deadlock during the parsing of maliciously crafted tar archives.

This vulnerability can be mitigated by including the following patch after importing the “tarfile” module:  https://gist.github.com/sethmlarson/1716ac5b82b73dbcbf23ad2eff8b33e1

CVSS Base Scores

version 3.1