CVE-2025-61729
Last modified
CVE-2025-61729 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.45% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Golang | Go | < 1.24.11 |
| Golang | Go | >= 1.25.0, < 1.25.5 |
References
- https://go.dev/issue/76445Issue Tracking, Patch
- https://groups.google.com/g/golang-announce/c/8FJoBkPddm4Mailing List, Release Notes
- https://pkg.go.dev/vuln/GO-2025-4155Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-61729?
How severe is CVE-2025-61729?
How do I fix CVE-2025-61729?
Are you affected by CVE-2025-61729?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
