Home / Go standard library / crypto/x509 / CVE-2026-27145
CVE-2026-27145: is it exploited, and which versions of Go standard library crypto/x509 are affected and fixed?
CVE-2026-27145 is a denial of service through slow algorithm vulnerability in Go standard library crypto/x509. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:38 UTC). Affected: crypto/x509 before 1.25.11 and crypto/x509 from 1.26.0-0 before 1.26.4 (CVE record by Go). Fixed in 1.25.11 and 1.26.4 (CVE record by Go). Severity: Medium (6.5, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:38 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:10 UTC.
What is CVE-2026-27145?
Inefficient candidate hostname parsing in crypto/x509
(*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.
From the CVE record by Go, last updated September 18, 2026, 12:04 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Go standard library | crypto/x509 | before 1.25.11 from 1.26.0-0 before 1.26.4 | 1.25.11, 1.26.4 |
As the CVE record by Go states it, last updated September 18, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-27145?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H | CISA-ADP |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | redhat-SADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-27145 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, June 4, 2026)
- EPSS
- 0.52% probability of exploitation activity in the next 30 days, percentile 45.9 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and 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-27145 vdb-entry, x_refsource_REDHAT
- RHBZ#2484207 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-27145.json x_sadp-csaf-vex
- https://access.redhat.com/errata/RHSA-2026:42079 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:42080 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:68334 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:68335 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:53416 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:50319 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:54757 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:57482 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:42082 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:42150 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:42151 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:42240 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:49703 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:49702 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:53413 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:53374 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:54168 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:51187 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:46394 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:46395 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:29980 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:35832 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:34357 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:39005 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:42946 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:39573 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:38995 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:41930 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:61253 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:60354 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:57649 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:53412 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:60315 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:49712 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:53415 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:54401 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:29981 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:34359 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:39879 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:36317 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:54531 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:61314 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:54500 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:41030 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:44622 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:47149 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:53530 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:52946 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:66022 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:51057 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:60387 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:47737 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:60390 vendor-advisory, x_refsource_REDHAT
Who found and reported it?
- Jakub Ciolek - https://ciolek.dev/ (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- February 17, 2026
- Published
- June 2, 2026, 22:01 UTC
- CVE record updated
- September 18, 2026, 12:04 UTC by Go
- NVD
- Awaiting Analysis, last modified September 18, 2026, 13:17 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:10 UTC; KEV December 3, 2026, 13:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect crypto/x509?
- Oct 21, 2026CVE-2026-111943 Go standard library crypto/x509: improper Check for Certificate Revocation
- Apr 8, 2026CVE-2026-32281 Go standard library crypto/x509: denial of service through slow algorithm
- Apr 8, 2026CVE-2026-32280 Go standard library crypto/x509: denial of service (resources allocated without limits)
- Apr 8, 2026CVE-2026-33810 Go standard library crypto/x509: improper certificate validation
- Mar 6, 2026CVE-2026-27138 Go standard library crypto/x509: improper Validation of Specified Index, Position, or Offset in Input
- Mar 6, 2026CVE-2026-27137 Go standard library crypto/x509: improper certificate validation
- Dec 3, 2025CVE-2025-61727 Go standard library crypto/x509: improper certificate validation
- Dec 2, 2025CVE-2025-61729 Go standard library crypto/x509: denial of service (uncontrolled resource consumption)
Questions about CVE-2026-27145
Is CVE-2026-27145 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:38 UTC. FIRST's EPSS gives it a 0.52% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Go standard library crypto/x509 are affected by CVE-2026-27145?
crypto/x509 before 1.25.11 and crypto/x509 from 1.26.0-0 before 1.26.4, per the CVE record by Go. The tables above give every range the sources list.
Which version fixes CVE-2026-27145?
1.25.11 and 1.26.4, per the CVE record by Go. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-27145?
Medium (6.5, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2026-27145?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.