CVE-2025-61729
crypto/x509: golang: Denial of Service due to excessive resource consumption via crafted certificate
Severity
ImportantRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · December 3, 2025
Updated · November 3, 2026
Description
A flaw was found in golang. A remote attacker could exploit this vulnerability by providing a specially crafted certificate during the error string construction process within the HostnameError.Error() function. This flaw, caused by unbounded string concatenation, leads to excessive resource consumption. Successful exploitation can result in a denial of service (DoS) for the affected system.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CWE-1050 · Excessive Platform Resource Consumption within a Loop