All CVEs / Python Software Foundation
CVE-2025-0938Python Software Foundation CPython
Medium 6.3 No auth needed
Follow: this CVE · Python Software Foundation · Python Software Foundation CPython We alert you by email or Slack (account required).
- Priority
- 53
- CVSS 4.0
- 6.3
- EPSS
- 1.5% probability of exploitation in 30 days · percentile 75
- Auth required
- No
- Published
- Jan 31, 2025
- Updated
- Jul 31, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-20
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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.
What to do
- Apply the vendor's security update for CPython.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products
- Python Software Foundation · CPython
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Red Hat Security Advisory: python3 security update · Red Hat · RHSA-2026:5588 · Mar 25, 2026 Medium
- Red Hat Security Advisory: python39:3.9 security update · Red Hat · RHSA-2025:23530 · Dec 18, 2025 High
- Multiple Vulnerabilities in Ruggedcom Rox Before V2.17.0 · Siemens · SSA-202008 · Dec 9, 2025 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.