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.
| Vendor | Product | Versions |
|---|---|---|
Python Software Foundation | CPython | affected 0 - < 3.10.17affected 3.11.0 - < 3.11.12affected 3.12.0 - < 3.12.9affected 3.13.0 - < 3.13.2affected 3.14.0a1 - < 3.14.0a5 |
Weaknesses (CWE)
References
https://github.com/python/cpython/issues/105704
issue-tracking
Security Training
Train your team to recognize and prevent security threats with our comprehensive security awareness program.
Start TrainingVulnerability Scanning
Discover vulnerabilities in your applications and infrastructure before attackers do.
Scan Now