USN-7710-2: Python 2.7 vulnerability

Publication date

29 August 2025

Overview

Several security issues were fixed in Python.


Packages

  • python2.7 - An interactive high-level object-oriented language

Details

USN-7710-1 fixed vulnerabilities in Python. This update provides the
corresponding fix for CVE-2025-8194 for Python 2.7.

Original advisory details:

It was discovered that Python inefficiently parsed maliciously crafted
HTML input. An attacker could possibly use this issue to cause a denial of
service. (CVE-2025-6069)

It was discovered that Python incorrectly parsed maliciously crafted Tar
archives. An attacker could possibly use this issue to cause a denial of
service. (CVE-2025-8194)

USN-7710-1 fixed vulnerabilities in Python. This update provides the
corresponding fix for CVE-2025-8194 for Python 2.7.

Original advisory details:

It was discovered that Python inefficiently parsed maliciously crafted
HTML input. An attacker could possibly use this issue to cause a denial of
service. (CVE-2025-6069)

It was discovered that Python incorrectly parsed maliciously crafted Tar
archives. An attacker could possibly use this issue to cause a denial of
service. (CVE-2025-8194)

Update instructions

In general, a standard system update will make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
22.04 jammy libpython2.7 –  2.7.18-13ubuntu1.5+esm7  
python2.7 –  2.7.18-13ubuntu1.5+esm7  
20.04 focal libpython2.7 –  2.7.18-1~20.04.7+esm8  
python2.7 –  2.7.18-1~20.04.7+esm8  
18.04 bionic libpython2.7 –  2.7.17-1~18.04ubuntu1.13+esm12  
python2.7 –  2.7.17-1~18.04ubuntu1.13+esm12  
16.04 xenial libpython2.7 –  2.7.12-1ubuntu0~16.04.18+esm17  
python2.7 –  2.7.12-1ubuntu0~16.04.18+esm17  
14.04 trusty libpython2.7 –  2.7.6-8ubuntu0.6+esm26  
python2.7 –  2.7.6-8ubuntu0.6+esm26  

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›