CVE-2025-8194

Publication date 28 July 2025

Last updated 30 August 2025


Ubuntu priority

Cvss 3 Severity Score

7.5 · High

Score breakdown

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

Status

Package Ubuntu Release Status
python2.7 26.10 stonking Not in release
26.04 LTS resolute Not in release
25.10 questing Not in release
25.04 plucky Not in release
24.04 LTS noble Not in release
22.04 LTS jammy
Fixed in 2.7.18-13ubuntu1.5+esm7
20.04 LTS focal
Fixed in 2.7.18-1~20.04.7+esm8
18.04 LTS bionic
Fixed in 2.7.17-1~18.04ubuntu1.13+esm12
16.04 LTS xenial
Fixed in 2.7.12-1ubuntu0~16.04.18+esm17
14.04 LTS trusty
Fixed in 2.7.6-8ubuntu0.6+esm26
python3.4 26.10 stonking Not in release
26.04 LTS resolute Not in release
25.10 questing Not in release
25.04 plucky Not in release
24.04 LTS noble Not in release
22.04 LTS jammy Not in release
14.04 LTS trusty
Fixed in 3.4.3-1ubuntu1~14.04.7+esm16
python3.5 26.10 stonking Not in release
26.04 LTS resolute Not in release
25.10 questing Not in release
25.04 plucky Not in release
24.04 LTS noble Not in release
22.04 LTS jammy Not in release
16.04 LTS xenial
Fixed in 3.5.2-2ubuntu0~16.04.13+esm19
14.04 LTS trusty
Fixed in 3.5.2-2ubuntu0~16.04.4~14.04.1+esm7
python3.6 26.10 stonking Not in release
26.04 LTS resolute Not in release
25.10 questing Not in release
25.04 plucky Not in release
24.04 LTS noble Not in release
22.04 LTS jammy Not in release
18.04 LTS bionic
Fixed in 3.6.9-1~18.04ubuntu1.13+esm6
python3.7 26.10 stonking Not in release
26.04 LTS resolute Not in release
25.10 questing Not in release
25.04 plucky Not in release
24.04 LTS noble Not in release
22.04 LTS jammy Not in release
18.04 LTS bionic
Fixed in 3.7.5-2ubuntu1~18.04.2+esm7
python3.8 26.10 stonking Not in release
26.04 LTS resolute Not in release
25.10 questing Not in release
25.04 plucky Not in release
24.04 LTS noble Not in release
22.04 LTS jammy Not in release
20.04 LTS focal
Fixed in 3.8.10-0ubuntu1~20.04.18+esm2
18.04 LTS bionic
Fixed in 3.8.0-3ubuntu1~18.04.2+esm6
python3.9 26.10 stonking Not in release
26.04 LTS resolute Not in release
25.10 questing Not in release
25.04 plucky Not in release
24.04 LTS noble Not in release
22.04 LTS jammy Not in release
20.04 LTS focal
Fixed in 3.9.5-3ubuntu0~20.04.1+esm6
python3.10 26.10 stonking Not in release
26.04 LTS resolute Not in release
25.10 questing Not in release
25.04 plucky Not in release
24.04 LTS noble Not in release
22.04 LTS jammy
Fixed in 3.10.12-1~22.04.11
python3.11 26.10 stonking Not in release
26.04 LTS resolute Not in release
25.10 questing Not in release
25.04 plucky Not in release
24.04 LTS noble Not in release
22.04 LTS jammy
Fixed in 3.11.0~rc1-1~22.04.1~esm5
python3.12 26.10 stonking Not in release
26.04 LTS resolute Not in release
25.10 questing Not in release
25.04 plucky Not in release
24.04 LTS noble
Fixed in 3.12.3-1ubuntu0.8
22.04 LTS jammy Not in release
python3.13 26.10 stonking Not in release
26.04 LTS resolute Not in release
25.10 questing
Fixed in 3.13.6-1
25.04 plucky
Fixed in 3.13.3-1ubuntu0.3
24.04 LTS noble Not in release
22.04 LTS jammy Not in release
python3.14 26.10 stonking
Not affected
26.04 LTS resolute
Not affected
25.10 questing
Not affected
25.04 plucky Not in release
24.04 LTS noble Not in release
22.04 LTS jammy Not in release

Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

Get Ubuntu Pro 30-day free trial

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
python3.9
python3.10
python3.11
python3.12
python3.13
python3.14

Severity score breakdown

CVSS version: CVSS v3.0

Base score 7.5 · High

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H


Access our resources on patching vulnerabilities