7.5
/ 10
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
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.
Basic Information
ID
CVE-2025-61729
Source
Go
Published
Dec 2, 2025 at 18:54
Modified
Dec 2, 2025 at 21:52
Affected Product
Vendor
Go standard library
Product
crypto/x509
Affected Versions
Go standard library crypto/x509 0
Go standard library crypto/x509 1.25.0
Go standard library crypto/x509 1.25.0