Vulnerability in Golang Go
CVE-2025-47912
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.
EPSS: 0.004 (35.8th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.
Affected products
- Golang Go
- Go Standard Library Net/url — versions 0, 1.25.0
References
- security@golang.org (Issue Tracking)
- security@golang.org (Patch)
- security@golang.org (Mailing List, Release Notes)
- security@golang.org (Vendor Advisory)
- af854a3a-2127-422b-91ae-364da2661108 (Mailing List, Release Notes)
Frequently asked questions
- What is CVE-2025-47912?
- CVE-2025-47912 is a medium-severity vulnerability in Golang Go, classified under CWE-1286: IMPROPER VALIDATION OF SYNTACTIC CORRECTNESS OF INPUT. CVSS score: 5.3/10. Published 2025-10-29.
- How severe is CVE-2025-47912?
- Medium severity. CVSS v3 base score is 5.3 out of 10.