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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-0938— URL parser allowed square brackets in domain names

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.

Python是Python基金会的一套开源的、面向对象的程序设计语言。该语言具有可扩展、支持模块和包、支持多种平台等特点。 Python存在安全漏洞,该漏洞源于方括号仅用作在URL中指定IPv6和IPvFuture主机的分隔符,可能会导致Python URL解析器和其他符合规范的URL解析器之间的解析存在差异。

CVSS 6.3 · Medium EPSS 1.56% · P74

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application

Affected Version Matrix 6

VendorProduct Version RangeStatus
Python Software Foundation CPython < 3.9.22 affected
3.10.0< 3.10.17 affected
3.11.0< 3.11.12 affected
3.12.0< 3.12.9 affected
3.13.0< 3.13.2 affected
3.14.0a1< 3.14.0a5 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-0938

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
URL parser allowed square brackets in domain names
Source: CVE Program / CVE List V5
Vulnerability Description
The Python standard library functions `urllib.parse.urlsplit` and `urlparse` accepted domain names that included square brackets which isn't valid according to RFC 3986. Square brackets are only meant to be used as delimiters for specifying IPv6 and IPvFuture hosts in URLs. This could result in differential parsing across the Python URL parser and other specification-compliant URL parsers.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N
Source: CVE Program / CVE List V5
Vulnerability Type
输入验证不恰当
Source: CVE Program / CVE List V5
Vulnerability Title
Python 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Python是Python基金会的一套开源的、面向对象的程序设计语言。该语言具有可扩展、支持模块和包、支持多种平台等特点。 Python存在安全漏洞,该漏洞源于方括号仅用作在URL中指定IPv6和IPvFuture主机的分隔符,可能会导致Python URL解析器和其他符合规范的URL解析器之间的解析存在差异。
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.22 -

II. Public POCs for CVE-2025-0938

# 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-0938

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

Patches & Fixes for CVE-2025-0938 (7)

Mailing List Discussions for CVE-2025-0938 (1)

News Coverage for CVE-2025-0938 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2025-0938

No comments yet


Leave a comment