Vulnerability · Published Oct 29, 2025 · Assigned by Go
CVE-2025-47912Insufficient validation of bracketed IPv6 hostnames in net/url
Medium 5.3
In plain English
A medium-severity security flaw in net/url from Go standard library. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 41% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.5%top 59.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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 & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.22 | go | 1.24.8-r0 | ALPINE-CVE-2025-47912 |
| Alpine:v3.23 | go | 1.25.2-r0 | ALPINE-CVE-2025-47912 |
| Alpine:v3.24 | go | 1.25.2-r0 | ALPINE-CVE-2025-47912 |
| Debian:12 | golang-1.19 | no fix listed | DEBIAN-CVE-2025-47912 |
| Debian:13 | golang-1.24 | no fix listed | DEBIAN-CVE-2025-47912 |
| Go | stdlib | 1.24.8, 1.25.2 | GO-2025-4010 |
| Ubuntu:22.04:LTS | golang-1.17 | no fix listed | UBUNTU-CVE-2025-47912 |
| Ubuntu:22.04:LTS | golang-1.18 | no fix listed | UBUNTU-CVE-2025-47912 |
| Ubuntu:22.04:LTS | golang-1.20 | no fix listed | UBUNTU-CVE-2025-47912 |
| Ubuntu:22.04:LTS | golang-1.21 | no fix listed | UBUNTU-CVE-2025-47912 |
| Ubuntu:24.04:LTS | golang-1.21 | no fix listed | UBUNTU-CVE-2025-47912 |
| Ubuntu:22.04:LTS | golang-1.22 | no fix listed | UBUNTU-CVE-2025-47912 |
| Ubuntu:24.04:LTS | golang-1.22 | no fix listed | UBUNTU-CVE-2025-47912 |
| Ubuntu:22.04:LTS | golang-1.23 | no fix listed | UBUNTU-CVE-2025-47912 |
| Ubuntu:24.04:LTS | golang-1.23 | no fix listed | UBUNTU-CVE-2025-47912 |
| Ubuntu:25.10 | golang-1.23 | no fix listed | UBUNTU-CVE-2025-47912 |
| Ubuntu:26.04:LTS | golang-1.23 | no fix listed | UBUNTU-CVE-2025-47912 |
| Ubuntu:22.04:LTS | golang-1.24 | no fix listed | UBUNTU-CVE-2025-47912 |
| Ubuntu:24.04:LTS | golang-1.24 | no fix listed | UBUNTU-CVE-2025-47912 |
| Ubuntu:25.10 | golang-1.24 | no fix listed | UBUNTU-CVE-2025-47912 |
| Ubuntu:26.04:LTS | golang-1.24 | no fix listed | UBUNTU-CVE-2025-47912 |
| Ubuntu:22.04:LTS | golang-1.25 | no fix listed | UBUNTU-CVE-2025-47912 |
| Ubuntu:24.04:LTS | golang-1.25 | no fix listed | UBUNTU-CVE-2025-47912 |
| Ubuntu:25.10 | golang-1.25 | no fix listed | UBUNTU-CVE-2025-47912 |
| Ubuntu:26.04:LTS | golang-1.25 | no fix listed | UBUNTU-CVE-2025-47912 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Go standard library | net/url | 0 – before 1.24.81.25.0 – before 1.25.2 |