(*x509.Certificate).VerifyHostname previously called matchHostnames in a loop over all DNS Subject…
Historical advisory recorded 25 Oct 2026 06:17:28 UTC. Read the latest advisory.
nvd · CVE-2026-27145
Published(*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.
Read the publisher's advisoryAffected versions, risk and source history
nvd · CVE-2026-27145
PublishedNVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Awaiting Analysis
Weakness classifications: CWE-606
Original publisher date fields
published: 2026-06-02T23:16:35.570
lastModified: 2026-09-18T13:17:43.283
No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.
Original source record · Cite this exact observation · Complete original publisher JSON