Improper input validation in Python Software Foundation Cpython

CVE-2025-0938

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.

Published · last modified .

EPSS exploit prediction

EPSS 0.015, 75.4th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

Weakness classification (CWE)

Public exploits and proof-of-concept code

Also mentioned in 3 other repositories (adegoodyer/kubernetes-admin-toolkit, GitHubForSnap/matrix-commander-gael, w4zu/Debian_security). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References