Disclosure summary
If the value passed to os.path.expandvars() is user-controlled a performance degradation is possible when expanding environment variables.
Source-reported weakness categories
CWE-400
Source-specific records & product guidance
Sources retain their own attribution and scoring. Follow the original record to confirm affected versions, fixed releases, and configuration conditions.
NIST National Vulnerability Database · NVD-CVE-2025-6075
Open original source · Updated Oct 07, 2026
Only CPE matches marked vulnerable=true are indexed. AND/OR platform conditions must be checked in the original NVD record.
| Vendor | Product / association | Version / bounds |
|---|---|---|
| python | python | * {"versionStartIncluding":"3.14.0","versionEndExcluding":"3.14.1"} |
| python | python | 3.15.0 |
Microsoft Security Updates (CVRF) · 2025-Oct
Open original source · Updated Dec 06, 2025
Quadratic complexity in os.path.expandvars() with user-controlled template
Maximum of vendor-reported product scores; products and fixed builds are associations, not a universal affected-version statement.
| Vendor | Product / association | Version / bounds |
|---|---|---|
| Microsoft update guide | azl3 python3 3.12.9-5 on Azure Linux 3.0 | (MSRC status code 3) |
| Microsoft update guide | azl3 python3 3.12.9-6 on Azure Linux 3.0 | (MSRC status code 3) |
| Microsoft update guide | cbl2 python3 3.9.19-15 on CBL Mariner 2.0 | (MSRC status code 3) |
| Microsoft update guide | cbl2 python3 3.9.19-16 on CBL Mariner 2.0 | (MSRC status code 3) |
| Microsoft update guide | cbl2 python3 3.9.19-17 on CBL Mariner 2.0 | (MSRC status code 3) |
Vendor remediation references
- CBL-Mariner Releases · build 3.12.9-6 · product IDs 20557-17084, 20708-17084
- Vendor guidance · product IDs 20557-17084, 20708-17084
- CBL-Mariner Releases · build 3.9.19-17 · product IDs 20603-17086, 20685-17086
- Vendor guidance · product IDs 20603-17086, 20685-17086
Original records & references
- NIST NVD record
- CVE Program record
- github.com — Patch
- github.com — Patch
- github.com — Patch
- github.com — Patch
- github.com — Patch
- github.com — Patch
- github.com — Patch
- github.com — Issue Tracking, Vendor Advisory
- mail.python.org — Third Party Advisory
PUBLISHED 2025-10-31T13:15:48-04:00
MODIFIED 2026-10-07T17:10:00-04:00
INGESTED 2026-10-08T12:35:14-04:00