CVE Database
/

CVE-2025-0938

Back to search

CVE-2025-0938

Published: Jan 31, 2025

Modified: Apr 21, 2026

PUBLISHED

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.

VendorProductVersions

Python Software Foundation

CPython

affected
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

Weaknesses (CWE)

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now