Medium severity · published Jun 2, 2026
CVE-2026-27145
Inefficient candidate hostname parsing in crypto/x509
6.5
CVSS
0.6%
EPSS
No
On KEV
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
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H
Attack vector
Network
Complexity
High
Privileges
None
User interaction
None
Confidentiality
None
Integrity
Low
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.6% · higher than 48% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CR
crypto/x509 · Go standard library
before 1.25.11; 1.26.0-0 before 1.26.4 · source: vendor
CM
Cert Manager support for Red Hat OpenShift release 1.19 · Red Hat
All versions, or not specified · source: CISA
CO
Cluster Observability Operator 1.5.0 · Red Hat
All versions, or not specified · source: CISA
CO
Compliance Operator 1 · Red Hat
All versions, or not specified · source: CISA
MG
Multicluster Global Hub 1.4.5 · Red Hat
All versions, or not specified · source: CISA
MG
Multicluster Global Hub 1.6.5 · Red Hat
All versions, or not specified · source: CISA
MG
Multicluster Global Hub 1.7.0 · Red Hat
All versions, or not specified · source: CISA
MG
Multicluster Global Hub 1.8.0 · Red Hat
All versions, or not specified · source: CISA
OA
OpenShift API for Data Protection 1.5 · Red Hat
All versions, or not specified · source: CISA
OD
OpenShift Developer Tools and Services 1.6.3 · Red Hat
All versions, or not specified · source: CISA
R1
RHEM 1.1 for RHEL 10 · Red Hat
All versions, or not specified · source: CISA
R1
RHEM 1.1 for RHEL 9 · Red Hat
All versions, or not specified · source: CISA
Affected product
CR
crypto/x509
Go standard library
More from crypto/x509
8.2
CVE-2026-33810
Case-sensitive excludedSubtrees name constraints cause Auth Bypass in crypto/x509
7.5
CVE-2026-32280
Unexpected work during chain building in crypto/x509
7.5
CVE-2026-32281
Inefficient policy validation in crypto/x509
–
CVE-2026-111943
Distrust compromised intermediate certificates in crypto/x509