| Name | CVE-2025-6075 |
| Description | If the value passed to os.path.expandvars() is user-controlled a performance degradation is possible when expanding environment variables. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|
| pypy3 (PTS) | bullseye | 7.3.5+dfsg-2+deb11u2 | vulnerable |
| bullseye (security) | 7.3.5+dfsg-2+deb11u5 | vulnerable |
| bookworm | 7.3.11+dfsg-2+deb12u3 | vulnerable |
| trixie | 7.3.19+dfsg-2 | vulnerable |
| forky, sid | 7.3.20+dfsg-4 | vulnerable |
| python3.11 (PTS) | bookworm | 3.11.2-6+deb12u6 | vulnerable |
| bookworm (security) | 3.11.2-6+deb12u3 | vulnerable |
| python3.13 (PTS) | trixie | 3.13.5-2 | vulnerable |
| forky, sid | 3.13.9-1 | vulnerable |
| python3.14 (PTS) | forky, sid | 3.14.0-4 | vulnerable |
| python3.9 (PTS) | bullseye | 3.9.2-1 | vulnerable |
| bullseye (security) | 3.9.2-1+deb11u3 | vulnerable |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|
| pypy3 | source | (unstable) | (unfixed) | | | |
| python3.11 | source | (unstable) | (unfixed) | | | |
| python3.13 | source | (unstable) | (unfixed) | | | |
| python3.14 | source | (unstable) | (unfixed) | | | |
| python3.9 | source | (unstable) | (unfixed) | | | |
Notes
https://github.com/python/cpython/issues/136065
https://mail.python.org/archives/list/security-announce@python.org/thread/IUP5QJ6D4KK6ULHOMPC7DPNKRYQTQNLA/
https://github.com/python/cpython/commit/f029e8db626ddc6e3a3beea4eff511a71aaceb5c (main)
https://github.com/python/cpython/commit/631ba3407e3348ccd56ce5160c4fb2c5dc5f4d84 (3.14-branch)
https://github.com/python/cpython/commit/9ab89c026aa9611c4b0b67c288b8303a480fe742 (3.13-branch)
https://github.com/python/cpython/commit/892747b4cf0f95ba8beb51c0d0658bfaa381ebca (3.10-branch)
https://github.com/python/cpython/commit/2e6150adccaaf5bd95d4c19dfd04a36e0b325d8c (3.9-branch)