Overly broad permissions can turn one compromised account into a much larger security problem. Learn how to reduce unnecessary access, review privileges, and apply least privilege across modern Linux systems. Review Linux Privileges×

Alerts This Week
Warning Icon 1 524
Alerts This Week
Warning Icon 1 524

Ubuntu 25.04: USN-7583-1 important: python file overwrite

ubuntu
Calendar Grey June 19, 2025
Scroller Ubuntu
Security flaws in Python have the potential to cause file corruption and information loss in Ubuntu versions 25.04, 24.10, and the long-term support release 24.04 LTS.
Python could be made to overwrite files.

Summary

Python could be made to overwrite files.

Software Description:

- python3.13: An interactive high-level object-oriented language

- python3.12: 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.

Update Instructions

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

Ubuntu 25.04
  python3.13                      3.13.3-1ubuntu0.2

Ubuntu 24.10
  python3.12                      3.12.7-1ubuntu2.2
  python3.13                      3.13.0-1ubuntu0.3

Ubuntu 24.04 LTS
  python3.12                      3.12.3-1ubuntu0.7

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

References

https://ubuntu.com/security/notices/USN-7583-1

CVE-2024-12718, CVE-2025-4138, CVE-2025-4330, CVE-2025-4435,

CVE-2025-4517

Severity
important
Lowest
Low
Medium
High
Critical

Ubuntu Security Notice USN-7583-1

Package Information

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.