CVE Tools

CVE-2026-27145

Inefficient candidate hostname parsing in crypto/x509

Published: Jun 2, 2026Updated: Aug 7, 2026 Sources: CVE List NVDCWE-606

Description

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

No summary for this CVE yet.

CVSS Vector Breakdown

AV:NAC:HPR:NUI:NS:UC:NI:LA:H
Exploitability
AV:NAttack Vector
Network
AC:HAttack Complexity
High
PR:NPrivileges Required
None
UI:NUser Interaction
None
Scope
S:UScope
Unchanged
Impact
C:NConfidentiality
None
I:LIntegrity
Low
A:HAvailability
High

Weaknesses

Affected Products

Go standard library
oss-project·USaka crypto/x509, html/template, net/http, golang standard library

Exploitability

No known exploits, KEV entries, or remediation guidance available for this vulnerability yet.

References

and 52 more references View all →

Unlock Complete Vulnerability Intelligence

Get the full picture for CVE-2026-27145 and every CVE in our database. Create a free account — no credit card required.

Create Free Account
Plain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows