Skip to main content
Public proof of conceptFix availableAwaiting NVD analysis

CVE-2026-27145

Inefficient candidate hostname parsing in crypto/x509

A public proof of concept exists; no exploitation attested.

  • Published2026-06-02
  • Fixed in1.26.4 · 1.25.11
  • WeaknessCWE-606

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2026-06-0223:16CVE publishedNVD

Versions per branch

OSV
golang
BranchAffectedFixed in
1.26≥ 1.26.0-0, < 1.26.41.26.4
1.25< 1.25.111.25.11
stdlib
BranchAffectedFixed in
1.26≥ 1.26.0-0, < 1.26.41.26.4
1.25< 1.25.111.25.11

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As Go, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • Go standard library crypto/x509other versions: not affected

    package crypto/x509https://pkg.go.dev

    Affected
    • < 1.25.11fixed in 1.25.11semver
    • ≥ 1.26.0-0, < 1.26.4fixed in 1.26.4semver

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-06-02

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • actions-runner-controllerMinimOSall versions · fixed in 0.14.2-r1and 1 other package
  • amazon-cloudwatch-agentCleanStartall versions · fixed in 1.300065.0-r1
  • amazon-k8s-cni-fipsMinimOSall versions · fixed in 1.22.1-r1and 1 other package
  • apache-exporterMinimOSall versions · fixed in 1.0.12-r2
  • apache-nifiCleanStartall versions · fixed in 2.10.0-r4
  • apisix-ingress-controller-fipsMinimOSall versions · fixed in 2.1.0-r1
  • apkoCleanStartall versions · fixed in 1.2.2-r2
  • argo-cdCleanStartall versions · fixed in 3.2.7-r4

467 more package ranges on OSV.dev

Vendor advisories

  • CVE-2026-27145 Red Hat Product Security1,273 products fixed · 82 known affected

    crypto/x509: golang: golang crypto/x509: Denial of Service via excessive processing of DNS SAN entries

    rhai/assisted-installer-rhel9 as a component of Assisted Installer for Red Hat OpenShift Container Platform 2 · compliance/openshift-compliance-rhel8-operator as a component of Compliance Operator · openshift-sandboxed-containers/osc-monitor-rhel9 as a component of Confidential Compute Attestation · +79 more

  • RHSA-2026:98617 Red Hat Product Security33 products fixed

    Red Hat Security Advisory: yggdrasil security update

  • RHSA-2026:98794 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: rhc security update

  • RHSA-2026:98108 Red Hat Product Security5 products fixed

    Red Hat Security Advisory: golang-github-openprinting-ipp-usb security update

  • RHSA-2026:97644 Red Hat Product Security13 products fixed

    Red Hat Security Advisory: containernetworking-plugins security, bug fix, and enhancement update

  • RHSA-2026:95612 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: OpenShift Compliance Operator bug fix and enhancement update

124 more advisories

Full record on NVD

Fix

  1. Update golang to 1.26.4 · 1.25.11
  2. Vendor fix Red Hat Product Security RHSA-2026:98617 · 33 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
  3. Vendor fix Red Hat Product Security RHSA-2026:95612 · 4 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://docs.openshift.com/container-platform/latest/updating/updating_a_cluster/updating-cluster-cli.html
  4. Vendor fix Red Hat Product Security RHSA-2026:95591 · 24 productsFor Cluster Observability Operator 1.5, see the following instructions to apply this update: https://docs.redhat.com/en/documentation/red_hat_openshift_cluster_observability_operator/1-latest
  5. Vendor fix Red Hat Product Security RHSA-2026:95576 · 1 productBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update as a new RHOSO 18.0 deployment, see “Deploying Red Hat OpenStack Services on OpenShift” at https://docs.redhat.com/en/documentation/red_hat_opens…
  6. Vendor fix Red Hat Product Security RHSA-2026:95206 · 1 productThe container images provided by this update can be downloaded from the Red Hat container registry at registry.redhat.io or registry.access.redhat.com using the 'podman pull' command. For more information about the images, search the image name in the Red Hat Ecosystem Catalog.
  7. Vendor fix Red Hat Product Security RHSA-2026:94498 · 4 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For Red Hat OpenShift API for Data Protection 1.4, see the following documentation for instructions on how to apply this update: https://docs.redhat.com/en/documentation/openshift_cont…

Detection

read 2026-11-01 01:02 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
2026-06-02
Last Modified
2026-09-18
NVD status
Awaiting Analysis
MSRC Title
Inefficient candidate hostname parsing in crypto/x509
GitHub Advisory
GHSA-4279-q6mj-392r

Frequently asked questions

What is CVE-2026-27145?

(*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.

Is CVE-2026-27145 actively exploited?

Active exploitation of CVE-2026-27145 has not been confirmed. Its EPSS score was 0.6% on 2026-11-18, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2026-27145?

CVE-2026-27145 has a CVSS v3 base score of 7.5 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Running crypto/x509? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record