{"id":"CVE-2025-61729","published":"2025-12-02T18:54:10Z","modified":"2025-12-03T19:37:14Z","title":"Excessive resource consumption when printing error string for host certificate validation in crypto/x509","vendor":"Go standard library","product":"crypto/x509","tier":"tail","description":{"text":"Within HostnameError.Error(), when constructing an error string, there is no limit to the number of hosts that will be printed out. Furthermore, the error string is constructed by repeated string concatenation, leading to quadratic runtime. Therefore, a certificate provided by a malicious actor can result in excessive resource consumption.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.0049,"percentile":0.4304,"provenance":"source"},"cwes":[],"references":[{"url":"https://go.dev/cl/725920","tags":[]},{"url":"https://go.dev/issue/76445","tags":[]},{"url":"https://groups.google.com/g/golang-announce/c/8FJoBkPddm4","tags":[]},{"url":"https://pkg.go.dev/vuln/GO-2025-4155","tags":[]}],"priority":{"score":13.9,"factors":[{"name":"EPSS percentile","points":8.61},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"go-standard-library","affectedVersions":[{"vendor":"Go standard library","product":"crypto/x509","versions":["< 1.24.11",">= 1.25.0, < 1.25.5"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-12-02T21:52:36.341575Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"stdlib","vulnerableRanges":["<1.24.11",">=1.25.0, <1.25.5"],"patched":["1.24.11","1.25.5"],"from":["GO-2025-4155"],"provenance":"source"}],"summary":{"text":"The crypto/x509 package in the Go standard library has a flaw in HostnameError.Error(), which builds the host certificate validation error string without limiting how many hosts are printed and assembles it through repeated string concatenation. An attacker who can supply a certificate over the network, with no authentication or user interaction needed, can trigger excessive resource consumption when that error is generated.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:41:37Z"},"euvd":{"id":"EUVD-2025-200318","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-61725","published":"2025-10-29","fixed":"1.25.2","kev":false},{"cve":"CVE-2025-58187","published":"2025-10-29","fixed":"1.25.3","kev":false,"link":{"from":"CVE-2025-58187","to":"CVE-2025-61729","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:stdlib","fromFixed":"1.24.9","toFixed":"1.24.11","daysApart":34}]}},{"cve":"CVE-2025-61727","published":"2025-12-03","fixed":"1.25.5","kev":false},{"cve":"CVE-2025-61729","published":"2025-12-02","fixed":"1.25.5","kev":false},{"cve":"CVE-2025-61726","published":"2026-01-28","fixed":"1.25.6","kev":false},{"cve":"CVE-2025-61728","published":"2026-01-28","fixed":"1.25.6","kev":false},{"cve":"CVE-2025-61730","published":"2026-01-28","fixed":"1.25.6","kev":false}],"package":"Go:stdlib"}}