CVE-2025-61729
High
Description
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.
SeverityHigh
CVSS7.5
Exploit probability—
ProductGo
PublishedDec 2, 2025
First seenDec 2, 2025
Weakness typeCWE-400Uncontrolled resource consumption
How to fix
Update
- golang go1.24.11, 1.25.5 or later
- stdlib1.24.11, 1.25.5 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| golang go | v < 1.24.11, 1.25.0 ≤ v < 1.25.5 | 1.24.11, 1.25.5 |
| stdlibGo | v < 1.24.11, 1.25.0 ≤ v < 1.25.5 | 1.24.11, 1.25.5 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.