Home

Description

If the value passed to os.path.expandvars() is user-controlled a performance degradation is possible when expanding environment variables.

PUBLISHED Reserved 2025-06-13 | Published 2025-10-31 | Updated 2026-03-03 | Assigner PSF




LOW: 1.8CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Product status

Default status
unaffected

Any version before 3.10.20
affected

3.11.0 (python) before 3.11.15
affected

3.12.0 (python) before 3.12.13
affected

3.13.0 (python) before 3.13.10
affected

3.14.0 (python) before 3.14.1
affected

3.15.0a1 (python) before 3.15.0a2
affected

References

github.com/python/cpython/issues/136065 issue-tracking

mail.python.org/.../thread/IUP5QJ6D4KK6ULHOMPC7DPNKRYQTQNLA/ vendor-advisory

github.com/...ommit/2e6150adccaaf5bd95d4c19dfd04a36e0b325d8c patch

github.com/...ommit/631ba3407e3348ccd56ce5160c4fb2c5dc5f4d84 patch

github.com/...ommit/892747b4cf0f95ba8beb51c0d0658bfaa381ebca patch

github.com/...ommit/9ab89c026aa9611c4b0b67c288b8303a480fe742 patch

github.com/...ommit/c8a5f3435c342964e0a432cc9fb448b7dbecd1ba patch

github.com/...ommit/f029e8db626ddc6e3a3beea4eff511a71aaceb5c patch

github.com/...ommit/5dceb93486176e6b4a6d9754491005113eb23427 patch

cve.org (CVE-2025-6075)

nvd.nist.gov (CVE-2025-6075)

Download JSON