CVEvulnerability

CVE-2025-8194

7.5 HIGH Published 2025-07-28 Modified 2026-07-31 Official page ↗
Status
Deferred
Published
2025-07-28
Last modified
2026-07-31
Assigner
[email protected]
CVSS 3.1 ([email protected])
7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-835

Description

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

Related

Weakness · CWE (1)

  • CWE-835 Loop with Unreachable Exit Condition weakness

References