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

Mon, 03 Nov 2025 10:45:00 +0000

Type Values Removed Values Added
First Time appeared Python
Python cpython
Vendors & Products Python
Python cpython

Fri, 31 Oct 2025 18:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-400
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 31 Oct 2025 17:30:00 +0000


Fri, 31 Oct 2025 16:45:00 +0000

Type Values Removed Values Added
Description If the value passed to os.path.expandvars() is user-controlled a performance degradation is possible when expanding environment variables.
Title Quadratic complexity in os.path.expandvars() with user-controlled template
References
Metrics cvssV4_0

{'score': 1.8, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: PSF

Published: 2025-10-31T16:41:34.983Z

Updated: 2025-10-31T17:55:40.240Z

Reserved: 2025-06-13T15:05:20.139Z

Link: CVE-2025-6075

cve-icon Vulnrichment

Updated: 2025-10-31T17:55:10.898Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2025-10-31T17:15:48.693

Modified: 2025-11-04T15:41:31.450

Link: CVE-2025-6075

cve-icon Redhat

No data.