CVE-2025-6075
Quadratic complexity in os.path.expandvars() with user-controlled template
CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th
If the value passed to os.path.expandvars() is user-controlled a performance degradation is possible when expanding environment variables.
| Vendor | python software foundation |
| Product | cpython |
| Published | Oct 31, 2025 |
| Last Updated | Mar 3, 2026 |
Stay Ahead of the Next One
Get instant alerts for python software foundation cpython
Be the first to know when new unknown vulnerabilities affecting python software foundation cpython are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
Affected Versions
Python Software Foundation / CPython
0 < 3.10.20 3.11.0 < 3.11.15 3.12.0 < 3.12.13 3.13.0 < 3.13.10 3.14.0 < 3.14.1 3.15.0a1 < 3.15.0a2
References
github.com: https://github.com/python/cpython/issues/136065 mail.python.org: https://mail.python.org/archives/list/[email protected]/thread/IUP5QJ6D4KK6ULHOMPC7DPNKRYQTQNLA/ github.com: https://github.com/python/cpython/commit/2e6150adccaaf5bd95d4c19dfd04a36e0b325d8c github.com: https://github.com/python/cpython/commit/631ba3407e3348ccd56ce5160c4fb2c5dc5f4d84 github.com: https://github.com/python/cpython/commit/892747b4cf0f95ba8beb51c0d0658bfaa381ebca github.com: https://github.com/python/cpython/commit/9ab89c026aa9611c4b0b67c288b8303a480fe742 github.com: https://github.com/python/cpython/commit/c8a5f3435c342964e0a432cc9fb448b7dbecd1ba github.com: https://github.com/python/cpython/commit/f029e8db626ddc6e3a3beea4eff511a71aaceb5c github.com: https://github.com/python/cpython/commit/5dceb93486176e6b4a6d9754491005113eb23427