CVE-2025-6075 LOW

CVE-2025-6075: Quadratic complexity in os.path.expandvars() with user-controlled template

Vendor Python Software Foundation
Product CPython
Published October 31, 2025
Last update March 3, 2026

CVSS base score

1.8/10
Attack vector Local
Attack complexity Low
Privileges required High
User interaction None
Confidentiality
Integrity

CVSS 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

What the vulnerability does

01Description

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

Key dates

02Disclosure timeline

October 31, 2025 CVE published
March 3, 2026 Record updated