CVE-2025-0938 - CVE House
Back to Database
Status published Medium CVE-2025-0938

URL parser allowed square brackets in domain names

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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2025-0938

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Python Software Foundation

View all reports →

Affected Software

CPython
Vulnerable Versions:
0, 3.11.0, 3.12.0, 3.13.0, 3.14.0a1

Timeline

Official Publish: January 31st, 2025
Last Modified: April 21st, 2026
Added to House: July 22nd, 2026

CVSS Vectors

Weaknesses (CWE)