{"id":"CVE-2025-47912","title":"The Parse function permits values other than IPv6 addresses to be included in square brackets within the host component of a URL","summary":"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. …","severity":"medium","cvss":5.3,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","vendor":"golang","product":"go","affected":["go < 1.24.8","go >= 1.25.0, < 1.25.2"],"patched":["go 1.25.2"],"published":"2025-10-29","updated":"2026-09-30","sourceUpdated":"2026-09-30T23:10:00.237","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2025-47912","references":[{"url":"https://go.dev/cl/709857","label":"security@golang.org"},{"url":"https://go.dev/issue/75678","label":"security@golang.org"},{"url":"https://groups.google.com/g/golang-announce/c/4Emdl2iQ_bI","label":"security@golang.org"},{"url":"https://pkg.go.dev/vuln/GO-2025-4010","label":"security@golang.org"},{"url":"http://www.openwall.com/lists/oss-security/2025/10/08/1","label":"af854a3a-2127-422b-91ae-364da2661108"}],"tags":["nvd"],"epss":0.00468,"epssPercentile":0.38126,"ingestedAt":"2026-09-30T23:29:32.457Z","slug":"CVE-2025-47912","body":"## Overview\n\nThe 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.\n\n## Affected\n\n- `go < 1.24.8`\n- `go >= 1.25.0, < 1.25.2`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `go 1.25.2`","depth":"sunlit","depthScore":29,"depthScoreParts":{"impact":29.2,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}