ADVISORIES

Vulnerability

CVE-2025-61729

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.

4715 advisories report this vulnerability, across 15 ecosystems.

Advisories in Go

  • GO-2025-4155

    Excessive resource consumption when printing error string for host certificate validation in crypto/x509

    CVE-2025-61729 Go Updated 25 November 2026

References