← CVE Intelligence

CVE-2025-61729

Excessive resource consumption when printing error string for host certificate validation in crypto/x509 PUBLISHED

Description (CNA)

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.

Affected (CNA)

Vendor / productVersions
Go standard library / crypto/x509affected 0 before 1.24.11; affected 1.25.0 before 1.25.5

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.