CVE-2025-8194

Publication date 28 July 2025

Last updated 30 August 2025


Ubuntu priority

Cvss 3 Severity Score

7.5 · High

Score breakdown

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

Parameter Value
Base score 7.5 · High
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Scope Unchanged
Confidentiality None
Integrity impact None
Availability impact High
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References

Related Ubuntu Security Notices (USN)

    • USN-7710-1
    • Python vulnerabilities
    • 21 August 2025
    • USN-7710-2
    • Python 2.7 vulnerability
    • 29 August 2025

Other references