CVE-2025-0938

MEDIUM CVSS 4.0: 6.3 EPSS 1.54%
Updated Jul 31, 2026
Python Software Foundation
Parameter Value
CVSS 6.3 (MEDIUM)
Type CWE-20 (Improper Input Validation)
Vendor Python Software Foundation
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
High
Difficult to exploit
Attack Requirements
Present
Additional conditions required
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
Low
Partial data modification
Availability
None
No disruption

CVSS Vector v4.0

Vulnerable Products

python software foundation:cpython