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

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

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:

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

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 : Received

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

Modified: 2025-12-02T22:16:08.527

Link: CVE-2025-61729

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.