CVE-2025-6075 Details
Description
If the value passed to os.path.expandvars() is user-controlled a performance degradation is possible when expanding environment variables.
A denial-of-service vulnerability has been identified in the Python CPython standard library, specifically within the 'path' modules. The issue arises in the 'os.path.expandvars()' function, which is used to expand shell variables in strings. When the input to this function is controlled by the user, it can lead to a performance degradation due to quadratic complexity in the variable expansion process. This vulnerability has been acknowledged and fixed in versions 3.9, 3.10, 3.11, 3.12, 3.13, and 3.14.
Users can upgrade to Python versions 3.9, 3.10, 3.11, 3.12, 3.13, or 3.14 to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 31, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-400 | Uncontrolled Resource Consumption | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| python python | < 3.9.0 >= 3.13.1, < 3.13.11 >= 3.14.0, < 3.14.1 3.15.0 alpha1 |
CPE
Remediation
| |
Change History
12 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 7, 2026 | CVE Translated | [email protected] |
| Sep 30, 2026 | CVE Translated | [email protected] |
| Jul 31, 2026 | CVE Modified | [email protected] |
| Jul 30, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Feb 4, 2026 | Reanalysis | [email protected] |
| Feb 4, 2026 | Initial Analysis | [email protected] |
| Dec 1, 2025 | CVE Modified | [email protected] |
| Oct 31, 2025 | CVE Modified | CISA-ADP |
| Oct 31, 2025 | CVE Modified | [email protected] |
| Oct 31, 2025 | New CVE Received | [email protected] |