USN-7583-1: Python vulnerabilities

Publication date

19 June 2025

Overview

Python could be made to overwrite files.


Packages

  • python3.12 - An interactive high-level object-oriented language
  • python3.13 - An interactive high-level object-oriented language

Details

It was discovered that Python incorrectly handled tar archive extraction
with the filtering option. An attacker could possibly use this issue to
modify files in arbitrary filesystem locations and cause data loss.

It was discovered that Python incorrectly handled tar archive extraction
with the filtering option. An attacker could possibly use this issue to
modify files in arbitrary filesystem locations and cause data loss.

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
25.04 plucky python3.13 –  3.13.3-1ubuntu0.2
24.10 oracular python3.12 –  3.12.7-1ubuntu2.2
python3.13 –  3.13.0-1ubuntu0.3
24.04 noble python3.12 –  3.12.3-1ubuntu0.7

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 ›