Resource exhaustion in Python - CVE-2025-6075

 

Resource exhaustion in Python - CVE-2025-6075

Published: November 24, 2025


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

Detailed vulnerability description

The vulnerability allows a local user to perform a denial of service (DoS) attack.

The vulnerability exists due to application does not properly control consumption of internal resources within the os.path.expandvars() function. A local user can trigger resource exhaustion and perform a denial of service (DoS) attack.


How to mitigate CVE-2025-6075

Install updates from vendor's website.

Sources