Vulnerability Description
If the value passed to os.path.expandvars() is user-controlled a performance degradation is possible when expanding environment variables.
CVSS Score
5.5
MEDIUM
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Python | Python | < 3.9.0 |
Related Weaknesses (CWE)
References
- https://github.com/python/cpython/commit/2e6150adccaaf5bd95d4c19dfd04a36e0b325d8Patch
- https://github.com/python/cpython/commit/5dceb93486176e6b4a6d9754491005113eb2342Patch
- https://github.com/python/cpython/commit/631ba3407e3348ccd56ce5160c4fb2c5dc5f4d8Patch
- https://github.com/python/cpython/commit/892747b4cf0f95ba8beb51c0d0658bfaa381ebcPatch
- https://github.com/python/cpython/commit/9ab89c026aa9611c4b0b67c288b8303a480fe74Patch
- https://github.com/python/cpython/commit/c8a5f3435c342964e0a432cc9fb448b7dbecd1bPatch
- https://github.com/python/cpython/commit/f029e8db626ddc6e3a3beea4eff511a71aaceb5Patch
- https://github.com/python/cpython/issues/136065Issue TrackingVendor Advisory
- https://mail.python.org/archives/list/[email protected]/thread/IUP5QJThird Party Advisory
FAQ
What is CVE-2025-6075?
CVE-2025-6075 is a vulnerability with a CVSS score of 5.5 (MEDIUM). If the value passed to os.path.expandvars() is user-controlled a performance degradation is possible when expanding environment variables.
How severe is CVE-2025-6075?
CVE-2025-6075 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-6075?
Check the references section above for vendor advisories and patch information. Affected products include: Python Python.