{"id":"CVE-2025-47912","revision":"c0702058609540ee824b57304886aaa3","records":[{"revision":"c0702058609540ee824b57304886aaa3","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2025-47912","aliases":[],"title":"Insufficient validation of bracketed IPv6 hostnames in net/url","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.","state":0,"publishedAt":"2025-10-29T22:10:13.435+00:00","modifiedAt":"2025-11-04T21:10:57.384+00:00","affected":[{"ecosystem":"https://pkg.go.dev","name":"net/url","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"Go standard library\",\n                    \"product\": \"net/url\",\n                    \"collectionURL\": \"https://pkg.go.dev\",\n                    \"packageName\": \"net/url\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"lessThan\": \"1.24.8\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\"\n                        },\n                        {\n                            \"version\": \"1.25.0\",\n                            \"lessThan\": \"1.25.2\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ],\n                    \"programRoutines\": [\n                        {\n                            \"name\": \"parseHost\"\n                        },\n                        {\n                            \"name\": \"JoinPath\"\n                        },\n                        {\n                            \"name\": \"Parse\"\n                        },\n                        {\n                            \"name\": \"ParseRequestURI\"\n                        },\n                        {\n                            \"name\": \"URL.Parse\"\n                        },\n                        {\n                            \"name\": \"URL.UnmarshalBinary\"\n                        }\n                    ],\n                    \"defaultStatus\": \"unaffected\"\n                }"}],"metrics":[],"references":["https://go.dev/issue/75678","https://go.dev/cl/709857","https://groups.google.com/g/golang-announce/c/4Emdl2iQ_bI","https://pkg.go.dev/vuln/GO-2025-4010"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2025-47912","license":"CVE Program Terms of Use","key":"cve-program:CVE-2025-47912","identifiers":["CVE-2025-47912"]},"retained":false,"historicalAffected":[]}],"coverage":[]}