CVE Catalog

CVE-2026-27145

MediumCVSS 6.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.59%

46th percentile - higher than 46% of all known CVEs

Summary

A vulnerability in Go's (*x509.Certificate).VerifyHostname function causes quadratic verification cost scaling with a large DNS SAN list. An attacker can exploit this to cause a denial of service by providing a certificate with many SAN entries.

Risk Assessment

An attacker can cause significant server or application load, leading to denial of service for other users.

Recommendation

Update the Go runtime to a version where the issue is fixed, or impose limits on the number of SAN entries in certificates.

Other vulnerabilities in Go

See all
Original NVD description (English source)

(*x509.Certificate).VerifyHostname previously called matchHostnames in a loop over all DNS Subject Alternative Name (SAN) entries. This caused strings.Split(host, ".") to execute repeatedly on the same input hostname. With a large DNS SAN list, verification costs scaled quadratically based on the number of SAN entries multiplied by the hostname's label count. Because x509.Verify validates hostnames before building the certificate chain, this overhead occurred even for untrusted certificates.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS