CVE-2025-8194: CPython tarfile - Denial of Service
- Cve: CVE-2025-8194
- Name: CPython tarfile - Denial of Service
- 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
- Impact: Attackers can cause infinite loop and deadlock, leading to denial of service during tar archive processing.
- Remediation: Apply the provided patch to validate offsets or update to the latest CPython version containing the fix.
- Vulnerability type: denial_of_service
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.00761
- Epss percentile: 0.56059
- Assignee: [email protected]
- Published at: 2025-07-28T19:15:43Z
- Age in days: 484
- Modified at: 2026-07-31T14:16:45Z
- Patch available: yes
- References total: 13
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-8194
- Nvd status: deferred
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-835 | Loop with Unreachable Exit Condition |
References
Same in every row:
- Source: nvd
- Tags:
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| python:python | >= 3.14.0a1, < 3.14.0rc2; >= 3.13.0, < 3.13.6; >= 3.12.0, < 3.12.12; >= 3.11.0, < 3.11.14; >= 3.10.0, < 3.10.19; < 3.9.24 | no | cna_alias | /v1/products/python/python |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| python/cpython | commit, fix, issues, pull | yes | /v1/repositories/python/cpython |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Exposed hosts: 5115604
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports