VDB

CVE-2025-8194

CVE-2025-8194 PUBLISHED CVSS 7.5 HIGH

Tarfile infinite loop during parsing with negative member offset

Reported by psf · Published July 28, 2025

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

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
python3-testerrata.rockylinux.org3.6.8-71.el8
python-3.13Wolfi3.13.6-r0
tkinterAmazon Linux2.7.18-1.amzn2.0.14
python3.13-debugAmazon Linux3.13.3-3.amzn2023.0.6
python3-idleerrata.rockylinux.org3.6.8-71.el8
python-minBitnami3.13.6, 3.12.12, 3.11.14, 3.10.19, 3.9.24
python3.12-develAmazon Linux3.12.11-2.amzn2023.0.2
python3-idleAmazon Linux3.9.23-1.amzn2023.0.3
platform-python-develerrata.rockylinux.org3.6.8-71.el8
python3errata.rockylinux.org3.6.8-71.el8
python-libsAmazon Linux2.7.18-1.amzn2.0.14
python3.11-testAmazon Linux3.11.13-1.amzn2023.0.3

64 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
Python Software FoundationCPython0, 3.10.0, 3.11.0
wolfipython-3.130
amazon:2tkinter0
amazon:2023python3.13-debug0
amazon:2023python3.12-devel0
amazon:2023python3-idle0
amazon:2python-libs0
amazon:2023python3.11-test0
amazon:2python3-test0
amazon:2023python3-libs0
wolfipython-3.120
amazon:2python3-libs0
chainguardpython-3.130
amazon:2023python3.110
amazon:2023python3.13-tkinter0
amazon:2python-test0
amazon:2023python3.12-tkinter0
amazon:2023python3.11-idle0
amazon:2023python3.130
amazon:2023python-unversioned-command0

…and 36 more

Timeline

  • Jul 28, 2025 CVE Published
  • Jul 29, 2025 EPSS Score (30 in total, the first dated here)
  • Nov 9, 2025 CVE Updated
  • Mar 17, 2026 Security Advisory (47 in total, the first dated here)
  • Mar 26, 2026 Coalition ESS Score (2 in total, the first dated here)
  • May 22, 2026 Distribution Patch (36 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-8194
vulnetix vdb fixes CVE-2025-8194

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-8194/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›