5.5

CVE-2025-6075

Quadratic complexity in os.path.expandvars() with user-controlled template

If the value passed to os.path.expandvars() is user-controlled a 
performance degradation is possible when expanding environment 
variables.
Daten sind bereitgestellt durch National Vulnerability Database (NVD)
PythonPython Version < 3.9.0
PythonPython Version >= 3.13.1 < 3.13.11
PythonPython Version >= 3.14.0 < 3.14.1
PythonPython Version3.15.0 Updatealpha1
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.14% 0.034
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
nvd@nist.gov 5.5 1.8 3.6
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
cna@python.org 1.8 0 0
CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CWE-400 Uncontrolled Resource Consumption

The product does not properly control the allocation and maintenance of a limited resource.

https://github.com/python/cpython/issues/136065
Vendor Advisory
Issue Tracking
https://mail.python.org/archives/list/security-announce@python.org/thread/IUP5QJ6D4KK6ULHOMPC7DPNKRYQTQNLA/
Third Party Advisory
https://github.com/python/cpython/commit/2e6150adccaaf5bd95d4c19dfd04a36e0b325d8c
Patch
https://github.com/python/cpython/commit/631ba3407e3348ccd56ce5160c4fb2c5dc5f4d84
Patch
https://github.com/python/cpython/commit/892747b4cf0f95ba8beb51c0d0658bfaa381ebca
Patch
https://github.com/python/cpython/commit/9ab89c026aa9611c4b0b67c288b8303a480fe742
Patch
https://github.com/python/cpython/commit/c8a5f3435c342964e0a432cc9fb448b7dbecd1ba
Patch
https://github.com/python/cpython/commit/f029e8db626ddc6e3a3beea4eff511a71aaceb5c
Patch
https://github.com/python/cpython/commit/5dceb93486176e6b4a6d9754491005113eb23427
Patch