Name
CVE-2025-61729
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.
CWEs
Published Date
Updated Date
Workaround
-
Advisories
https://go.dev/issue/76445Issue Tracking
https://pkg.go.dev/vuln/GO-2025-4155Vendor Advisory
Analysis#
Vulnerability Ratings#
7.5
CVSSv31
NaN
other
Others affected components#
Name
Project
Project Version
Version
Status
openwrt
master
1.24.13-r1
Not Affected
openwrt
master
1.26.4-r1
Not Affected
openwrt
openwrt-25.12
1.24.13-r1
Not Affected
openwrt
openwrt-25.12
1.26.4-r1
Not Affected
yocto
master
1.26.4
Not Affected
yocto
master
1.26.4
Not Affected
yocto
scarthgap
1.22.12
Patched
yocto
scarthgap
1.22.12
Exploitable
Resolved with patches#
go (yocto:scarthgap)
#
Title
Author
Resolve
1
[release-branch.go1.24] crypto/x509: prevent
"Nicholas S. Husin" <nsh@golang.org>
CVE-2025-61729