CVE-2025-8194
Published: 28 July 2025
Summary
CVE-2025-8194 is a high-severity Infinite Loop (CWE-835) vulnerability in Python (inferred from references). Its CVSS base score is 7.5 (High).
Operationally, ranked in the top 22.5% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
Deeper analysis
CVE-2025-8194 is a defect in the CPython tarfile module that affects the TarFile extraction and entry enumeration APIs. The tar implementation accepts archives containing negative offsets without raising an error, which triggers an infinite loop and deadlock when parsing a maliciously crafted tar file. The issue is tracked under CWE-835 and carries a CVSS 3.1 score of 7.5 reflecting high availability impact.
An unauthenticated remote attacker can supply a specially constructed tar archive to any application that uses the affected TarFile interfaces for extraction or listing. Successful exploitation causes the consuming process to hang indefinitely, resulting in denial of service without requiring authentication or user interaction.
The supplied mitigation consists of applying the patch referenced in the GitHub gist immediately after importing the tarfile module; several corrective commits have also been merged into the CPython repository. The EPSS score has remained flat at 0.0101 with no material increase observed since disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2025-22999
Vulnerability details
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…
more
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
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.