{"id":"CVE-2025-6075","details":"If the value passed to os.path.expandvars() is user-controlled a \nperformance degradation is possible when expanding environment \nvariables.","aliases":["BIT-libpython-2025-6075","BIT-python-2025-6075","BIT-python-min-2025-6075","PSF-2025-13"],"modified":"2026-04-16T08:44:20.133271537Z","published":"2025-10-31T17:15:48.693Z","related":["ALSA-2025:23342","ALSA-2025:23530","CGA-3jxx-qmh5-7q8p","SUSE-SU-2025:21199-1","SUSE-SU-2025:21207-1","SUSE-SU-2025:4221-1","SUSE-SU-2025:4257-1","SUSE-SU-2025:4257-2","SUSE-SU-2025:4258-1","SUSE-SU-2025:4277-1","SUSE-SU-2025:4297-1","SUSE-SU-2025:4352-1","SUSE-SU-2025:4368-1","SUSE-SU-2025:4389-1","SUSE-SU-2025:4398-1","SUSE-SU-2025:4487-1","SUSE-SU-2026:0268-1","SUSE-SU-2026:0337-1","SUSE-SU-2026:0663-1","SUSE-SU-2026:1349-1","SUSE-SU-2026:20125-1","SUSE-SU-2026:20154-1","SUSE-SU-2026:20768-1","SUSE-SU-2026:20796-1","openSUSE-SU-2025:15742-1","openSUSE-SU-2025:15748-1","openSUSE-SU-2025:15750-1","openSUSE-SU-2025:15760-1","openSUSE-SU-2025:15768-1","openSUSE-SU-2025:15791-1","openSUSE-SU-2025:15792-1","openSUSE-SU-2026:20081-1"],"references":[{"type":"ADVISORY","url":"https://mail.python.org/archives/list/security-announce@python.org/thread/IUP5QJ6D4KK6ULHOMPC7DPNKRYQTQNLA/"},{"type":"REPORT","url":"https://github.com/python/cpython/issues/136065"},{"type":"FIX","url":"https://github.com/python/cpython/commit/2e6150adccaaf5bd95d4c19dfd04a36e0b325d8c"},{"type":"FIX","url":"https://github.com/python/cpython/commit/5dceb93486176e6b4a6d9754491005113eb23427"},{"type":"FIX","url":"https://github.com/python/cpython/commit/631ba3407e3348ccd56ce5160c4fb2c5dc5f4d84"},{"type":"FIX","url":"https://github.com/python/cpython/commit/892747b4cf0f95ba8beb51c0d0658bfaa381ebca"},{"type":"FIX","url":"https://github.com/python/cpython/commit/9ab89c026aa9611c4b0b67c288b8303a480fe742"},{"type":"FIX","url":"https://github.com/python/cpython/commit/f029e8db626ddc6e3a3beea4eff511a71aaceb5c"},{"type":"FIX","url":"https://github.com/python/cpython/commit/c8a5f3435c342964e0a432cc9fb448b7dbecd1ba"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/python/cpython","events":[{"introduced":"0"},{"fixed":"9cf6752276e6fcfd0c23fdb064ad27f448aaaf75"},{"introduced":"067145177975eadd61a0c907d0d177f7b6a5a3de"},{"fixed":"627894459a84be3488a1789919679c997056a03c"},{"introduced":"ebf955df7a89ed0c7968f79faec1de49f61ed7cb"},{"fixed":"57e0d177c26d4a508ef46adae9cbae46fca39f70"},{"fixed":"2e6150adccaaf5bd95d4c19dfd04a36e0b325d8c"},{"fixed":"5dceb93486176e6b4a6d9754491005113eb23427"},{"fixed":"631ba3407e3348ccd56ce5160c4fb2c5dc5f4d84"},{"fixed":"892747b4cf0f95ba8beb51c0d0658bfaa381ebca"},{"fixed":"9ab89c026aa9611c4b0b67c288b8303a480fe742"},{"fixed":"c8a5f3435c342964e0a432cc9fb448b7dbecd1ba"},{"fixed":"f029e8db626ddc6e3a3beea4eff511a71aaceb5c"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"3.9.0"},{"introduced":"3.13.1"},{"fixed":"3.13.11"},{"introduced":"3.14.0"},{"fixed":"3.14.1"}]}}],"versions":["v0.9.8","v0.9.9","v1.0.1","v1.0.2","v1.1","v1.1.1","v1.2","v1.2b1","v1.2b2","v1.2b3","v1.2b4","v1.3","v1.3b1","v1.4","v1.4b1","v1.4b2","v1.4b3","v1.5","v1.5.1","v1.5.2","v1.5.2a1","v1.5.2a2","v1.5.2b1","v1.5.2b2","v1.5.2c1","v1.5a1","v1.5a2","v1.5a3","v1.5a4","v1.5b1","v1.5b2","v1.6a1","v1.6a2","v2.0","v2.0b1","v2.0b2","v2.0c1","v2.1","v2.1a1","v2.1a2","v2.1b1","v2.1b2","v2.1c1","v2.1c2","v2.2a3","v2.3c1","v2.3c2","v2.4","v2.4a1","v2.4a2","v2.4a3","v2.4b1","v2.4b2","v2.4c1","v3.0a1","v3.0a2","v3.0a3","v3.0a4","v3.0a5","v3.0b1","v3.0b2","v3.0b3","v3.0rc1","v3.0rc2","v3.0rc3","v3.1","v3.10.0a1","v3.10.0a7","v3.10.0b1","v3.10.0b2","v3.10.0b3","v3.10.0b4","v3.10.0rc1","v3.10.0rc2","v3.10.1","v3.10.10","v3.10.11","v3.10.12","v3.10.13","v3.10.14","v3.10.15","v3.10.16","v3.10.17","v3.10.18","v3.10.19","v3.10.2","v3.10.3","v3.10.4","v3.10.5","v3.10.6","v3.10.7","v3.10.8","v3.10.9","v3.11.0a3","v3.11.0a4","v3.11.0a5","v3.11.0a6","v3.11.0a7","v3.11.0b1","v3.11.0b2","v3.11.0b3","v3.11.0b4","v3.11.0b5","v3.11.0rc1","v3.11.0rc2","v3.11.1","v3.11.10","v3.11.11","v3.11.12","v3.11.13","v3.11.14","v3.11.2","v3.11.3","v3.11.4","v3.11.5","v3.11.6","v3.11.7","v3.11.8","v3.11.9","v3.12.0","v3.12.0a1","v3.12.0a2","v3.12.0a3","v3.12.0a4","v3.12.0a5","v3.12.0a6","v3.12.0a7","v3.12.0b1","v3.12.0b2","v3.12.0b3","v3.12.0b4","v3.12.0rc1","v3.12.0rc2","v3.12.0rc3","v3.12.1","v3.12.10","v3.12.11","v3.12.12","v3.12.2","v3.12.3","v3.12.4","v3.12.5","v3.12.6","v3.12.7","v3.12.8","v3.12.9","v3.13.0a1","v3.13.0a2","v3.13.0a3","v3.13.0a4","v3.13.0a5","v3.13.0a6","v3.13.0b1","v3.13.1","v3.13.10","v3.13.2","v3.13.3","v3.13.4","v3.13.5","v3.13.6","v3.13.7","v3.13.8","v3.14.0","v3.14.0a1","v3.14.0a2","v3.14.0a3","v3.14.0a4","v3.14.0a5","v3.14.0a6","v3.14.0a7","v3.14.0b1","v3.15.0a1","v3.1a1","v3.1a2","v3.1b1","v3.1rc1","v3.1rc2","v3.2a1","v3.2a2","v3.2a3","v3.2a4","v3.2b1","v3.2b2","v3.2rc1","v3.2rc2","v3.2rc3","v3.3.0a2","v3.3.0a3","v3.3.0a4","v3.3.0b1","v3.3.0b2","v3.3.0rc1","v3.3.0rc2","v3.3.0rc3","v3.4.0a1","v3.4.0a2","v3.4.0a3","v3.4.0a4","v3.4.0b1","v3.4.0b2","v3.4.0b3","v3.5.0a1","v3.5.0a2","v3.5.0a3","v3.5.0a4","v3.5.0b1","v3.6.0a3","v3.6.0b1","v3.7.0a2","v3.9.0a2","v3.9.0b1","v3.9.0b3","v3.9.0b5","v3.9.11","v3.9.12","v3.9.13","v3.9.14","v3.9.15","v3.9.16","v3.9.17","v3.9.18","v3.9.19","v3.9.2","v3.9.20","v3.9.21","v3.9.22","v3.9.23","v3.9.24","v3.9.2rc1","v3.9.5","v3.9.6","v3.9.7","v3.9.8","v3.9.9"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-6075.json","unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"3.15.0-alpha1"}]}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}