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: 2025-07-28 Last update: 2026-06-17 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2025-8194 is rated Moderate Risk (44.7/100): CVSS High severity, with low exploitation likelihood (EPSS 0.59%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2025-8194

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 1.01% 0.59% -0.42%
2 2026-05-24 0.26% 1.01% +0.75%
3 2026-04-23 0.26%

Full EPSS history (9 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2025-8194

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.5 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
3.9 3.6 [email protected]

Weakness enumeration for CVE-2025-8194

OS Trackers for CVE-2025-8194

vendor priority summary link
debian end-of-life CVE-2025-8194 end-of-life priority: Debian including 5 source packages (pypy3, python2.7, python3.11, python3.13, python3.9), 11 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 7, open 4. https://security-tracker.debian.org/tracker/CVE-2025-8194
redhat medium https://access.redhat.com/security/cve/CVE-2025-8194
suse medium CVE-2025-8194 severity moderate: SUSE including 683 source package names (0.0.17-1.1:libpython3_11-1_0-3.11.13-150600.3.35.1, 0.0.17-1.1:libpython3_6m1_0-3.6.15-150300.10.97.1, …), 2522 product×package rows across 398 product lines (Container bci/kiwi, Container bci/spack, … (398 product lines)): Fixed 2282, Known Affected 226, First Fixed 14. https://www.suse.com/security/cve/CVE-2025-8194/
ubuntu medium CVE-2025-8194 medium priority: Ubuntu including 12 source packages (python2.7, python3.10, …), 72 status rows across 9 suites (bionic, focal, jammy, noble, plucky, questing, trusty, upstream, xenial): DNE 41, released 20, needs-triage 10, not-affected 1. https://ubuntu.com/security/CVE-2025-8194

Affected software / configurations for CVE-2025-8194

Vendor Product Version Raw CPE
No affected products in dataset.

References for CVE-2025-8194

URL Tags
https://gist.github.com/sethmlarson/1716ac5b82b73dbcbf23ad2eff8b33e1
https://github.com/python/cpython/commit/57f5981d6260ed21266e0c26951b8564cc252bc2
https://github.com/python/cpython/commit/7040aa54f14676938970e10c5f74ea93cd56aa38
https://github.com/python/cpython/commit/73f03e4808206f71eb6b92c579505a220942ef19
https://github.com/python/cpython/commit/b4ec17488eedec36d3c05fec127df71c0071f6cb
https://github.com/python/cpython/commit/c9d9f78feb1467e73fd29356c040bde1c104f29f
https://github.com/python/cpython/commit/cdae923ffe187d6ef916c0f665a31249619193fe
https://github.com/python/cpython/commit/fbc2a0ca9ac8aff6887f8ddf79b87b4510277227
https://github.com/python/cpython/issues/130577
https://github.com/python/cpython/pull/137027
https://mail.python.org/archives/list/[email protected]/thread/ZULLF3IZ726XP5EY7XJ7YIN3K5MDYR2D/
http://www.openwall.com/lists/oss-security/2025/07/28/1
http://www.openwall.com/lists/oss-security/2025/07/28/2
cvelogic Threat Intelligence