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?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « 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- 2026-06-0223:16CVE publishedNVD
Versions per branch
OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 1.26 | ≥ 1.26.0-0, < 1.26.4 | 1.26.4 | OSV |
| 1.25 | < 1.25.11 | 1.25.11 | OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 1.26 | ≥ 1.26.0-0, < 1.26.4 | 1.26.4 | OSV |
| 1.25 | < 1.25.11 | 1.25.11 | OSV |
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
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
Red Hat Security Advisory: yggdrasil security update
Red Hat Security Advisory: rhc security update
Red Hat Security Advisory: golang-github-openprinting-ipp-usb security update
Red Hat Security Advisory: containernetworking-plugins security, bug fix, and enhancement update
Red Hat Security Advisory: OpenShift Compliance Operator bug fix and enhancement update
124 more advisories
Fix
- Update golang to 1.26.4 · 1.25.11
- 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
- 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
- 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
- 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…
- 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.
- 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
- PoC-in-GitHub1 repository, unverifiedknown since 2026-11-01HORKimhab/CVE-2026-27145
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVE recordread 2026-10-23
- CISA-ADPSSVC decisionnone2026-06-04
- CISA-ADPCVSS 3.16.52026-06-04
- CNACVSS 3.17.5known since 2026-10-23
- CNAweakness (CWE)CWE-606known since 2026-10-23
- FIRST EPSSEPSS score0.6 %2026-11-18
- PoC-in-GitHubproof of concept1known since 2026-11-01
- OSVaffected packages—
- GitHub Advisoriesadvisory—
- Microsoft MSRCadvisory—
Identifiers
- AZL-89381same flawAzure Linux · MIT
- AZL-89384same flawAzure Linux · MIT
- AZL-98601same flawAzure Linux · MIT
- BIT-golang-2026-27145same flawBitnami · Apache-2.0
- CGA-2233-g9mq-j8qpsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2238-w3wx-39hhsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-223m-pfrr-8455same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2253-r8c5-4jchsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-225c-rj2x-pj2fsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2274-mxxj-x4w2same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2283-26f2-6v5gsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-22c6-8w8p-rffwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-22gr-8r7c-j4f3same flawChainguard · CC-BY-NC-ND-4.0
- CGA-22wm-7jjv-3w97same flawChainguard · CC-BY-NC-ND-4.0
- CGA-234p-6mx2-7858same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2359-64g2-hpx9same flawChainguard · CC-BY-NC-ND-4.0
- CGA-23fm-r9f4-9wghsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-23jq-669m-7qjxsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-23mm-5j4r-jwr4same flawChainguard · CC-BY-NC-ND-4.0
- CGA-23mp-xcjh-55cxsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-23ph-2c46-238jsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-23pj-r9cw-538qsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-23qh-427w-m44psame flawChainguard · CC-BY-NC-ND-4.0
- CGA-23r6-gw6m-f379same flawChainguard · CC-BY-NC-ND-4.0
- CGA-23r9-rmm9-fjxfsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-23vf-78cv-ff93same flawChainguard · CC-BY-NC-ND-4.0
- CGA-23w3-j9jm-chfmsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-242m-wpq4-9gqvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2465-j4j7-93vxsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-246w-584c-35h3same flawChainguard · CC-BY-NC-ND-4.0
- CGA-249m-8pgq-68vwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-249q-grw5-qvxjsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-24fr-p39h-jvp3same flawChainguard · CC-BY-NC-ND-4.0
- CGA-24mx-m4rf-c7g2same flawChainguard · CC-BY-NC-ND-4.0
- CGA-24pp-w64g-2q7qsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-24vh-qw75-8286same flawChainguard · CC-BY-NC-ND-4.0
- CGA-24vp-g7p4-ph5csame flawChainguard · CC-BY-NC-ND-4.0
- CGA-254j-qp2x-pf7hsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-2552-48gp-8456same flawChainguard · CC-BY-NC-ND-4.0
- CGA-2562-53h3-9xg7same flawChainguard · CC-BY-NC-ND-4.0
- CGA-256r-7892-5fmpsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-25hc-x2gg-j3pcsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-25hp-j3jq-gjr5same flawChainguard · CC-BY-NC-ND-4.0
- CGA-25j8-hj9v-q4q4same flawChainguard · CC-BY-NC-ND-4.0
- CGA-25jf-9w3f-p65hsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-25jj-fxvw-7r92same flawChainguard · CC-BY-NC-ND-4.0
- CGA-25p4-3p3j-5cpmsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-25r6-6v8h-wfpcsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-25vp-h7hq-vh2hsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-25w4-fx6r-w7r4same flawChainguard · CC-BY-NC-ND-4.0
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?
Is CVE-2026-27145 actively exploited?
What is the CVSS score for CVE-2026-27145?
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
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2025-61726same product
- CVE-2026-39821same product
- CVE-2025-68121same product
- CVE-2026-33811same productCrash when handling long CNAME response in net
- CVE-2026-78659same productHTTP/2 server memory exhaustion due to Trailer headers in net/http
- CVE-2026-78663same productDouble flow control refund on HTTP/2 server streams in net/http
- CVE-2026-78669same productExcessive CPU consumption from repeated initial window changes in net/http
- CVE-2026-33814same product
Sources for this record
- CVE Program · CVE Program Terms of Use
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-4279-q6mj-392r
- Microsoft MSRC · Microsoft terms of use (personal and non-commercial use) · terms restrict redistribution
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OpenCVE · OpenCVE terms of service · terms restrict redistribution
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0