7.5
High
CVE-2025-8194 There is a defect in the CPython “tarfile” module affecting the “TarFile” extraction and entry enumeration APIs
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
Affected products and versions
References
- github.com github.com
- github.com github.com
- mail.python.org mail.python.org
- github.com github.com
- github.com github.com
- gist.github.com gist.github.com
- github.com github.com
- github.com github.com
- github.com github.com
- github.com github.com
- github.com github.com
Timeline
- Published
- Last modified
Other CVEs of CPython
The 79 CVEs of CPython →
CVE-2026-116566
socket.getaddrinfo() previously accepted null bytes within *host* and *port* parameters which can cause the values to be…
5.3
Medium
CVE-2026-103995
Lenient parsing of integers for response body and chunk framing
2.0
Low
CVE-2026-115557
Python has added a denylist for known compromised certificates to the "ssl" module to ensure user safety even without…
9.4
Critical
CVE-2026-114583
tarfile.tar_filter could be bypassed using crafted link entries, including symlinks with empty or directory-like…
6.9
Medium