Expected behavior violation in Python - CVE-2025-4435

 

Expected behavior violation in Python - CVE-2025-4435

Published: June 26, 2025


Vulnerability identifier: #VU111970
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N/E:U/U:Clear
CVE-ID: CVE-2025-4435
CWE-ID: CWE-440
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Python.org
Affected software:
Python

Detailed vulnerability description

The vulnerability allows a remote attacker to change expected behavior. 

The vulnerability exists due to an error when using a TarFile.errorlevel = 0 and extracting with a filter the documented behavior. A remote attacker can force the application to extract files that were meant to be skipped. 


How to mitigate CVE-2025-4435

Install updates from vendor's website.

Sources