Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
Python Software Foundation CPython
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

CPython是Python基金会的一个用C语言实现的Python解释器。 CPython 3.15.0之前版本存在安全漏洞,该漏洞源于用户可控值传递给os.path.expandvars时可能导致环境变量扩展性能下降。

CVSS 1.8 · Low EPSS 0.15% · P4

Possible ATT&CK Techniques 1 AI

T1496 · Resource Hijacking

Affected Version Matrix 7

VendorProduct Version RangeStatus
Python Software Foundation CPython < 3.9.25 affected
3.10.0< 3.10.20 affected
3.11.0< 3.11.15 affected
3.12.0< 3.12.13 affected
3.13.0< 3.13.10 affected
3.14.0< 3.14.1 affected
3.15.0a1< 3.15.0a2 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-6075

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Quadratic complexity in os.path.expandvars() with user-controlled template
Source: CVE Program / CVE List V5
Vulnerability Description
If the value passed to os.path.expandvars() is user-controlled a performance degradation is possible when expanding environment variables.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
CPython 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
CPython是Python基金会的一个用C语言实现的Python解释器。 CPython 3.15.0之前版本存在安全漏洞,该漏洞源于用户可控值传递给os.path.expandvars时可能导致环境变量扩展性能下降。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Python Software Foundation CPython 0 ~ 3.9.25 -

II. Public POCs for CVE-2025-6075

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-6075

请登录查看更多情报信息。

IV. Related Vulnerabilities

V. Comments for CVE-2025-6075

No comments yet


Leave a comment