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.
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

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


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

cve-icon MITRE

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

cve-icon Vulnrichment

Updated: 2025-12-02T21:52:53.822Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2025-12-02T19:15:51.447

Modified: 2025-12-04T17:15:25.860

Link: CVE-2025-61729

cve-icon Redhat

No data.