Resource exhaustion in Python
CVE-2025-6075
If the value passed to os.path.expandvars() is user-controlled a performance degradation is possible when expanding environment variables.
Vulnerability class: DoS (Denial of Service)
EPSS: 0.001 (3.7th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
Affected products
- Python — versions 3.15.0
- Python Software Foundation Cpython — versions 3.10.0, 3.14.0, 0
Weakness classification (CWE)
References
- cna@python.org (issue-tracking, Issue Tracking, Vendor Advisory)
- cna@python.org (vendor-advisory, Third Party Advisory)
- cna@python.org (Patch, patch)
- cna@python.org (Patch, patch)
- cna@python.org (Patch, patch)
- cna@python.org (Patch, patch)
- cna@python.org (Patch, patch)
- cna@python.org (Patch, patch)
- cna@python.org (Patch, patch)
Frequently asked questions
- What is CVE-2025-6075?
- CVE-2025-6075 is a medium-severity vulnerability in Python, classified under Uncontrolled Resource Consumption. CVSS score: 5.5/10. Published 2025-10-31.
- How severe is CVE-2025-6075?
- Medium severity. CVSS v3 base score is 5.5 out of 10.