CVE Tools

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

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

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

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 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