Medium severity · published Oct 29, 2025
CVE-2025-47912
Insufficient validation of bracketed IPv6 hostnames in net/url
5.3
CVSS
0.5%
EPSS
No
On KEV
Description
The Parse function permits values other than IPv6 addresses to be included in square brackets within the host component of a URL. RFC 3986 permits IPv6 addresses to be included within the host component, enclosed within square brackets. For example: "http://[::1]/". IPv4 addresses and hostnames must not appear within square brackets. Parse did not enforce this requirement.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
Low
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 40% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
NE
net/url · Go standard library
before 1.24.8; 1.25.0 before 1.25.2 · source: vendor
GO
GO · Golang
before 1.24.8; 1.25.0 before 1.25.2 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-47912
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-47912
Patch
https://go.dev/cl/709857
Issue Tracking
https://go.dev/issue/75678
Mailing List
https://groups.google.com/g/golang-announce/c/4Emdl2iQ_bI
Vendor Advisory
https://pkg.go.dev/vuln/GO-2025-4010
Mailing List
http://www.openwall.com/lists/oss-security/2025/10/08/1
More from net/url
7.5
CVE-2026-25679
Incorrect parsing of IPv6 host literals in net/url
7.5
CVE-2025-61726
Memory exhaustion in query parameter parsing in net/url
5.9
CVE-2026-56860
Avoid quadratic complexity in resolvePath in net/url
