All CVEs / Go standard library
CVE-2026-27145Go standard library crypto/x509
Medium 6.5 No auth needed
Follow: this CVE · Go standard library · Go standard library crypto/x509 We alert you by email or Slack (account required).
- Priority
- 54
- CVSS 3.1
- 6.5
- EPSS
- —
- Auth required
- No
- Published
- Jun 2, 2026
- Updated
- Sep 18, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-606
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H
What happens
(*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.
What to do
- Apply the vendor's security update for crypto/x509.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | stdlib |
< 1.25.11 |
1.25.11 |
go get stdlib@v1.25.11 |
| Go | stdlib |
≥ 1.26.0-0 < 1.26.4 |
1.26.4 |
go get stdlib@v1.26.4 |
Per OSV / GitHub Advisories (GO-2026-5037). Check the version in your lockfile before upgrading.
Affected products
- Go standard library · crypto/x509
- Red Hat · Red Hat Ansible Automation Platform 2.5 for RHEL 8
- Red Hat · Red Hat Ansible Automation Platform 2.5 for RHEL 9
- Red Hat · Red Hat Ansible Automation Platform 2.6 for RHEL 10
- Red Hat · Red Hat Ansible Automation Platform 2.6 for RHEL 9
- Red Hat · Red Hat Ansible Automation Platform 2.7 for RHEL 10
- Red Hat · Red Hat Ansible Automation Platform 2.7 for RHEL 9
- Red Hat · Red Hat Enterprise Linux 10
- Red Hat · Red Hat Enterprise Linux 10.0 Extended Update Support
- Red Hat · Red Hat Enterprise Linux 7 Extended Lifecycle Support
- Red Hat · Red Hat Enterprise Linux 8
- Red Hat · Red Hat Enterprise Linux 9
- Red Hat · Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions
- Red Hat · Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions
- Red Hat · Red Hat Enterprise Linux 9.6 Extended Update Support
- Red Hat · Red Hat OpenShift Container Platform 4.18
- Red Hat · Red Hat OpenStack Platform 16.2
- Red Hat · Red Hat Satellite 6.16 for RHEL 8
- Red Hat · Red Hat Satellite 6.16 for RHEL 9
- Red Hat · Red Hat Satellite 6.17 for RHEL 9
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Red Hat Security Advisory: buildah, conmon, container-selinux, containernetworking-plugins, containers-common, crun, fuse-overlayfs, gvisor-tap-vsock, oci-seccomp-bpf-hook, podman, runc, skopeo, and slirp4netns security, bug fix, and enhancement update · Red Hat · RHSA-2026:102708 · Nov 25, 2026 High
- Red Hat Security Advisory: buildah, conmon, containernetworking-plugins, containers-common, fuse-overlayfs, gvisor-tap-vsock, oci-seccomp-bpf-hook, podman, runc, skopeo, and slirp4netns security, bug fix, and enhancement update · Red Hat · RHSA-2026:102529 · Nov 25, 2026 High
- Red Hat Security Advisory: buildah, conmon, container-selinux, containers-common, criu, fuse-overlayfs, gvisor-tap-vsock, oci-seccomp-bpf-hook, podman, skopeo, and slirp4netns security, bug fix, and enhancement update · Red Hat · RHSA-2026:102514 · Nov 25, 2026 High
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21483-1 · Jul 30, 2026 Critical
- Security update for rclone · SUSE · openSUSE-SU-2026:21436-1 · Jul 22, 2026 Critical
- Security update for go1.25-openssl · SUSE · SUSE-SU-2026:3151-1 · Jul 21, 2026 High
Also: Red Hat (+55), SUSE (+16)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- go.dev
- go.dev
- groups.google.com
- pkg.go.dev
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com