vulnerability

Ubuntu: (Multiple Advisories) (CVE-2025-8194): Python vulnerabilities

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
Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.