
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-8194 is a high-severity vulnerability discovered in the CPython 'tarfile' module affecting the TarFile extraction and entry enumeration APIs. The vulnerability was disclosed on July 28, 2025, and affects all versions of Python prior to 3.14.0. 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 (Security Online, NVD).
The vulnerability stems from a defect in the CPython tarfile module where the TarFile extraction and entry enumeration APIs fail to validate offset values. When processing tar archives containing entries with negative offsets, the implementation enters an infinite loop condition. The vulnerability has been assigned a CVSS v3.1 base score of 7.5 (High) with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, indicating network accessibility with no required privileges or user interaction (NVD).
The exploitation of this vulnerability can lead to denial-of-service conditions through resource exhaustion, application hangs, and system unresponsiveness when processing maliciously crafted tar archives (Security Online).
A patch has been implemented in Python 3.14.0 to address this vulnerability. For older versions, a runtime mitigation is available by applying a patch that validates offset values. The patch introduces a check to raise an InvalidHeaderError exception when encountering negative offsets (Python Gist, Security Online).
The Python Software Foundation has actively addressed the vulnerability by backporting fixes to all supported Python versions. The security community has noted the significance of this vulnerability due to its potential for denial-of-service attacks (Python Mailing List).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."