CVE-2026-27145
Inefficient candidate hostname parsing in crypto/x509
Published: Jun 2, 2026Updated: Jun 4, 2026 Sources: CVE List NVD
6.5CVSSMEDIUM
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.
CVSS Vector Breakdown
Exploitability
AV:NAttack VectorNetwork
AC:HAttack ComplexityHigh
PR:NPrivileges RequiredNone
UI:NUser InteractionNone
Scope
S:UScopeUnchanged
Impact
C:NConfidentialityNone
I:LIntegrityLow
A:HAvailabilityHigh
Affected Products
go standard libraryoss-projectUSOSS Librariesaka golang standard library, net/http, crypto/x509, html/template
Exploitability
No known exploits, KEV entries, or remediation guidance available for this vulnerability yet.
References
https://go.dev/cl/783621
go.dev
https://go.dev/issue/79694
go.dev
https://groups.google.com/g/golang-announce/c/tKs3rmcBcKw
groups.google.com
and 1 more references View all →
Timeline
Published
Jun 2, 2026
Last Updated
Jun 4, 2026
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 AccountPlain-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