Inefficient candidate hostname parsing in crypto/x509
CVE-2026-27145Published 2 Jun 2026, 22:01 UTC
Real-world risk
1.5/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
6.5
scored by CISA, CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from Go)
(*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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| crypto/x509Niche | < 1.25.11; >= 1.26.0-0, < 1.26.4 | 1.25.11, 1.26.4 |
What to do
Update to a fixed version: 1.25.11, 1.26.4.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Denial of serviceCrash or resource exhaustion only | From the CVSS vector | 0.40 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | HardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bug | From the CVSS vector | 0.45 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.5% chance of exploitation in 30 days (percentile 46), as of 2026-12-05.
The arithmetic
- Prerequisites multiplied together0.450
- Threat T1: Nothing known0.850
- 10 × impact 0.4 × prerequisites 0.45 × threat 0.851.530
- Rounded to one decimal between 0.1 and 101.5
Exploitation and evidence timeline
- 2 Jun 2026 Published
- 3 Dec 2026 Risk 1.5 (cvss fallback)
Weakness
CWE-407
References
- https://go.dev/cl/783621
- https://go.dev/issue/79694
- https://groups.google.com/g/golang-announce/c/tKs3rmcBcKw
- https://pkg.go.dev/vuln/GO-2026-5037
- https://access.redhat.com/security/cve/CVE-2026-27145redhat, vdb-entry
- https://bugzilla.redhat.com/show_bug.cgi?id=2484207issue-tracking, redhat
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-27145.jsonx-sadp-csaf-vex
- https://access.redhat.com/errata/RHSA-2026:42079redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:42080redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:68334redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:68335redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:53416redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:50319redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:54757redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:57482redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:42082redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:42150redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:42151redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:42240redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:49703redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:49702redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:53413redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:53374redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:54168redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:51187redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:46394redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:46395redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:29980redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:35832redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:34357redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:39005redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:42946redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:39573redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:38995redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:41930redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:61253redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:60354redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:57649redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:53412redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:60315redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:49712redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:53415redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:54401redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:29981redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:34359redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:39879redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:36317redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:54531redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:61314redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:54500redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:41030redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:44622redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:47149redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:53530redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:52946redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:66022redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:51057redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:60387redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:47737redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:60390redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:60388redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:54427redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:60391redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:60386redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:63016redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:42142redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:33574redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:23262redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:23264redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:54441redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:42644redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:36648redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:41036redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:60025redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:57488redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:54603redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:49705redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:49729redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:49744redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:49765redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:49770redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:50205redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:36797redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:42043redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:42047redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:42050redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:42051redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:42049redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:55899redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:54435redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:54525redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:57194redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:59556redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:59593redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:59557redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:54432redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:59579redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:59558redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:47735redhat, vendor-advisory
- https://access.redhat.com/errata/RHSA-2026:59559redhat, vendor-advisory
- CVE-2026-27145 on CVE.org