CVE-2025-47912

published 29 Oct 2025 · updated 16 Nov 2026

Insufficient validation of bracketed IPv6 hostnames in net/url

5.3MediumCVSS 5.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 1.24.8 and 1.25.2.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Go standard library<1.24.8, >=1.25.0 <1.25.21.24.8, 1.25.2

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-47912 severity on Zeptric[![CVE-2025-47912](https://zeptric.io/badge/cve/CVE-2025-47912.svg)](https://zeptric.io/cve/CVE-2025-47912)