CVE-2025-6075Uncontrolled Resource Consumption in Software Foundation Cpython

Severity
1.8LOWNVD
EPSS
0.0%
top 91.57%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedOct 31
Latest updateNov 26

Description

If the value passed to os.path.expandvars() is user-controlled a performance degradation is possible when expanding environment variables.

CVSS vector

CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Affected Packages2 packages

NVDpython/python3.13.13.13.11+3
CVEListV5python_software_foundation/cpython3.11.03.11.15+5

Patches

🔴Vulnerability Details

5
OSV
python3.13 vulnerabilities2025-11-26
OSV
python3.12, python3.11, python3.10, python3.9, python3.8, python3.7, python3.6, python3.5, python3.4 vulnerabilities2025-11-24
OSV
CVE-2025-6075: If the value passed to os2025-10-31
GHSA
GHSA-vc2m-m665-8xm2: If the value passed to os2025-10-31
CVEList
Quadratic complexity in os.path.expandvars() with user-controlled template2025-10-31

📋Vendor Advisories

5
Ubuntu
Python vulnerabilities2025-11-26
Ubuntu
Python vulnerabilities2025-11-24
Red Hat
python: Quadratic complexity in os.path.expandvars() with user-controlled template2025-10-31
Microsoft
Quadratic complexity in os.path.expandvars() with user-controlled template2025-10-14
Debian
CVE-2025-6075: pypy3 - If the value passed to os.path.expandvars() is user-controlled a performance de...2025

💬Community

1
Bugzilla
CVE-2025-6075 python: Quadratic complexity in os.path.expandvars() with user-controlled template2025-10-31
CVE-2025-6075 — Uncontrolled Resource Consumption | cvebase