CVE-2025-8194
CVE-2025-8194 — Tarfile infinite loop during parsing with negative member offset
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
Published Updated Sources: cvelistV5, PSF
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
<1%
chance of exploitation in 30 days
CVSS base
7.5
HIGH
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
None
none · proof-of-concept · active
Automatable
Yes
can an attacker script all four kill-chain steps
Technical impact
Partial
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (1)
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 7.5 | CVSS 3.1 | HIGH | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-835
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Search application, proxy, and WAF logs for requests touching //gist.github.com/sethmlarson/1716ac5b82b73dbcbf23ad2eff8b33e1.
References
13 on the record
- github.com/python/cpython/issues/130577
issue-tracking
- github.com/python/cpython/pull/137027
patch
- mail.python.org/archives/list/[email protected]/thread/ZULLF3IZ726XP5EY7XJ7YIN3K5MDYR2D/
vendor-advisory
- github.com/python/cpython/commit/7040aa54f14676938970e10c5f74ea93cd56aa38
patch
- github.com/python/cpython/commit/cdae923ffe187d6ef916c0f665a31249619193fe
patch
- gist.github.com/sethmlarson/1716ac5b82b73dbcbf23ad2eff8b33e1
mitigation
- github.com/python/cpython/commit/c9d9f78feb1467e73fd29356c040bde1c104f29f
patch
- github.com/python/cpython/commit/fbc2a0ca9ac8aff6887f8ddf79b87b4510277227
patch
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2026-115557 Distrust compromised intermediate certificates in ssl moduleCVSS 9.4
- CVE-2024-20353 Cisco ASA and FTD Denial of Service VulnerabilityCVSS 8.6 · CISA KEV
- CVE-2026-65156 NVIDIA CUDA Video Codec SDK for Jetson Linux contains a vulnerability where an attacker may cause an infinite loopCVSS 7.5
- CVE-2026-65155 NVIDIA CUDA Video Codec SDK (CUVID) for Jetson Linux contains a vulnerability where an attacker may cause a loop with an unreachable exit…CVSS 7.5
- CVE-2026-6554 infinte loop in libpcap before 1.10.7CVSS 5.5
- CVE-2026-11932 Security vulnerabilities have been found in IBM Verify Identity Access and IBM Security Verify AccessCVSS 5.3
Elsewhere on this site
- Python Software Foundationevery CVE for this vendor
- CWE-835other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.