PT-2025-4103
CVE-2025-0938
·
Published
2025-01-31
·
Updated
2026-09-18
Description by
CVSS 3.1
6.8
MediumMetricsAV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N
Name of the Vulnerable Software and Affected Versions
Python versions prior to 3.11.12
Description
The Python standard library functions
urllib.parse.urlsplit() and urlparse() accepted domain names containing square brackets, which violates RFC 3986. According to the specification, square brackets should only be used as delimiters for IPv6 and IPvFuture hosts in URLs. This inconsistency can lead to differential parsing between the Python URL parser and other parsers that strictly comply with the specification.Recommendations
Update Python to version 3.11.12.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾