CVE-2025-6075

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

Configuration 1 (hide)

OR cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
cpe:2.3:a:python:python:3.15.0:alpha1:*:*:*:*:*:*

History

04 Feb 2026, 18:46

Type Values Removed Values Added
First Time Python
Python python
CPE cpe:2.3:a:python:python:3.15.0:alpha1:*:*:*:*:*:*
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
References () https://github.com/python/cpython/commit/2e6150adccaaf5bd95d4c19dfd04a36e0b325d8c - () https://github.com/python/cpython/commit/2e6150adccaaf5bd95d4c19dfd04a36e0b325d8c - Patch
References () https://github.com/python/cpython/commit/5dceb93486176e6b4a6d9754491005113eb23427 - () https://github.com/python/cpython/commit/5dceb93486176e6b4a6d9754491005113eb23427 - Patch
References () https://github.com/python/cpython/commit/631ba3407e3348ccd56ce5160c4fb2c5dc5f4d84 - () https://github.com/python/cpython/commit/631ba3407e3348ccd56ce5160c4fb2c5dc5f4d84 - Patch
References () https://github.com/python/cpython/commit/892747b4cf0f95ba8beb51c0d0658bfaa381ebca - () https://github.com/python/cpython/commit/892747b4cf0f95ba8beb51c0d0658bfaa381ebca - Patch
References () https://github.com/python/cpython/commit/9ab89c026aa9611c4b0b67c288b8303a480fe742 - () https://github.com/python/cpython/commit/9ab89c026aa9611c4b0b67c288b8303a480fe742 - Patch
References () https://github.com/python/cpython/commit/c8a5f3435c342964e0a432cc9fb448b7dbecd1ba - () https://github.com/python/cpython/commit/c8a5f3435c342964e0a432cc9fb448b7dbecd1ba - Patch
References () https://github.com/python/cpython/commit/f029e8db626ddc6e3a3beea4eff511a71aaceb5c - () https://github.com/python/cpython/commit/f029e8db626ddc6e3a3beea4eff511a71aaceb5c - Patch
References () https://github.com/python/cpython/issues/136065 - () https://github.com/python/cpython/issues/136065 - Issue Tracking, Vendor Advisory
References () https://mail.python.org/archives/list/security-announce@python.org/thread/IUP5QJ6D4KK6ULHOMPC7DPNKRYQTQNLA/ - () https://mail.python.org/archives/list/security-announce@python.org/thread/IUP5QJ6D4KK6ULHOMPC7DPNKRYQTQNLA/ - Third Party Advisory
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5

01 Dec 2025, 19:15

Type Values Removed Values Added
References
  • () https://github.com/python/cpython/commit/5dceb93486176e6b4a6d9754491005113eb23427 -

31 Oct 2025, 18:15

Type Values Removed Values Added
CWE CWE-400
References
  • () https://github.com/python/cpython/commit/2e6150adccaaf5bd95d4c19dfd04a36e0b325d8c -
  • () https://github.com/python/cpython/commit/631ba3407e3348ccd56ce5160c4fb2c5dc5f4d84 -
  • () https://github.com/python/cpython/commit/892747b4cf0f95ba8beb51c0d0658bfaa381ebca -
  • () https://github.com/python/cpython/commit/9ab89c026aa9611c4b0b67c288b8303a480fe742 -
  • () https://github.com/python/cpython/commit/c8a5f3435c342964e0a432cc9fb448b7dbecd1ba -
  • () https://github.com/python/cpython/commit/f029e8db626ddc6e3a3beea4eff511a71aaceb5c -

31 Oct 2025, 17:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-10-31 17:15

Updated : 2026-02-04 19:05


NVD link : CVE-2025-6075

Mitre link : CVE-2025-6075

CVE.ORG link : CVE-2025-6075


JSON object : View

Products Affected

python

  • python
CWE
CWE-400

Uncontrolled Resource Consumption