Vulnerability · CVE-2025-8194
There is a defect in the CPython “tarfile” module affecting the “TarFile” extraction and entry enumeration APIs.
Published Jul 28, 2025 · catalog updated Jul 31, 2026 · Python Software Foundation CPython
Last checked Oct 29, 2026. A connected source was read within the last 7 days.
Check if you run it
No confirmed exploitation is on record for CVE-2025-8194. EPSS is 0.76%. Act only if a listed version of Python Software Foundation CPython is installed.
Gaps on this record
- No vendor fix or required action is stored. Compare the linked advisory before you change production.
Same product and reporting
- CVE-2026-115557 · Critical
- CVE-2025-12084 · Medium
- CVE-2025-13837 · Low
- CVE-2025-13836 · Medium
- CVE-2025-6075 · Low
- Severity
- High7.5
- Known exploitation
- Not in CISA/VulnCheck KEV
- EPSS
- 0.76%
- Remediation
- Version ranges on file
- Affected products
- vendor Python Software Foundation CPython 0 <3.9.24
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
Are you affected?
Enter the version you run. The result uses only the ranges stored on this record.
The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.
- vendor Python Software Foundation CPython 0 <3.9.240 <3.9.24
How to fix CVE-2025-8194
Upgrade
CVE-2025-8194 lists a fix boundary at 3.9.24. Compare the installed build with that boundary before you change production.
Version check
Seen in 0 <3.9.24
Advisory
Open the cve_org record and follow its fix.
Official advisories
What to do
Three questions, each answered from this record only. Confirm the vendor advisory before you patch.
Should you patch?
No confirmed exploitation is on record for CVE-2025-8194. EPSS is 0.76%. Act only if a listed version of Python Software Foundation CPython is installed.
Which versions are affected?
Compare what you have installed with Python Software Foundation CPython 0 <3.9.24 0 <3.9.24. Compare the installed version with the linked vendor advisory before you change production.
What should an analyst verify?
No weakness class is stored. EPSS 0.76%. There is no CISA KEV listing. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.
Code
The project this record applies to. Exploit listings stay in References.
Timeline
Detection, updates, and resolution for this record.
Jul 28, 2025 · EUVD
Detected
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” mo
Jul 31, 2026 · EUVD
Updated
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” mo
Sources
- CVE.orgVulnerability recordCVE-2025-8194
Official CVE identifier
cve.org - FIRST EPSSExploitation probabilityCVE-2025-8194
30-day exploitation probability 0.76%
first.org - EUVDVulnerability recordEUVD-2025-22999
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 cra
euvd.enisa.europa.eu
References
Freshness
Last verified in this catalog Oct 29, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.
- FIRST EPSSOct 29, 2026
- CVE.orgOct 21, 2026
- EUVDOct 20, 2026