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
Affected Vendors & Products
References
History
Wed, 03 Dec 2025 12:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Go Standard Library
Go Standard Library crypto Tls |
|
| Vendors & Products |
Go Standard Library
Go Standard Library crypto Tls |
Tue, 02 Dec 2025 22:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
cvssV3_1
|
Tue, 02 Dec 2025 19:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Excessive resource consumption when printing error string for host certificate validation in crypto/x509 | |
| References |
|
Status: PUBLISHED
Assigner: Go
Published: 2025-12-02T18:54:10.166Z
Updated: 2025-12-03T19:37:14.903Z
Reserved: 2025-09-30T15:05:03.605Z
Link: CVE-2025-61729
Updated: 2025-12-02T21:52:53.822Z
Status : Awaiting Analysis
Published: 2025-12-02T19:15:51.447
Modified: 2025-12-04T17:15:25.860
Link: CVE-2025-61729
No data.