vulnerability
Ubuntu: (Multiple Advisories) (CVE-2025-8194): Python vulnerabilities
| Severity | CVSS | Published | Added | Modified |
|---|---|---|---|---|
| 8 | (AV:N/AC:L/Au:N/C:N/I:N/A:C) | Jul 28, 2025 | Aug 22, 2025 | Sep 3, 2025 |
Severity
8
CVSS
(AV:N/AC:L/Au:N/C:N/I:N/A:C)
Published
Jul 28, 2025
Added
Aug 22, 2025
Modified
Sep 3, 2025
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
Solutions
ubuntu-pro-upgrade-idle-python3-8ubuntu-pro-upgrade-libpython2-7ubuntu-pro-upgrade-libpython3-10ubuntu-pro-upgrade-libpython3-11ubuntu-pro-upgrade-libpython3-12t64ubuntu-pro-upgrade-libpython3-13ubuntu-pro-upgrade-libpython3-4ubuntu-pro-upgrade-libpython3-5ubuntu-pro-upgrade-libpython3-6ubuntu-pro-upgrade-libpython3-7ubuntu-pro-upgrade-libpython3-8ubuntu-pro-upgrade-libpython3-9ubuntu-pro-upgrade-python2-7ubuntu-pro-upgrade-python3-10ubuntu-pro-upgrade-python3-11ubuntu-pro-upgrade-python3-12ubuntu-pro-upgrade-python3-13ubuntu-pro-upgrade-python3-4ubuntu-pro-upgrade-python3-5ubuntu-pro-upgrade-python3-6ubuntu-pro-upgrade-python3-7ubuntu-pro-upgrade-python3-8ubuntu-pro-upgrade-python3-9
References
- CVE-2025-8194
- https://attackerkb.com/topics/CVE-2025-8194
- CWE-835
- UBUNTU-USN-7710-1
- UBUNTU-USN-7710-2
- URL-https://github.com/python/cpython/pull/137027
- URL-https://mail.python.org/archives/list/[email protected]/thread/ZULLF3IZ726XP5EY7XJ7YIN3K5MDYR2D/
- URL-https://ubuntu.com/security/notices/USN-7710-1
- URL-https://www.cve.org/CVERecord?id=CVE-2025-8194
NEW
Explore Exposure Command
Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.