CVE-2025-61729: Golang Go
High severity, CVSS 7.5. EPSS: 0.5% chance of exploitation in the next 30 days.
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.
Affected products
- Golang Go: before 1.24.11 (fixed in 1.24.11); from 1.25.0, before 1.25.5 (fixed in 1.25.5)
Published 2025-12-02. Last modified 2026-06-17.