CVE-2025-47912
MEDIUM5.3EPSS 0.03%Insufficient validation of bracketed IPv6 hostnames in net/url
Published: 10/29/2025Modified: 5/15/2026
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.
Affected packages (6)
- Bitnami/golangfrom 0, < 1.24.8, >= 1.25.0, < 1.25.2
- Debian/golang-1.15from 0
- Debian/golang-1.19from 0
- Debian/golang-1.24from 0
- Debian/golang-1.25from 0, < 1.25.2-1
- Go/stdlibfrom 0, < 1.24.8, >= 1.25.0, < 1.25.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
References (7)
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2025-47912
- PATCHhttps://go.dev/cl/709857
- REPORThttps://go.dev/issue/75678
- WEBhttps://groups.google.com/g/golang-announce/c/4Emdl2iQ_bI
- WEBhttps://nvd.nist.gov/vuln/detail/CVE-2025-47912
- WEBhttps://pkg.go.dev/vuln/GO-2025-4010
- WEBhttp://www.openwall.com/lists/oss-security/2025/10/08/1