cve.bz

CVE-2026-39835 golang crypto: Improper Certificate Validation

5.3 mediumEPSS 0.5%Fix available

Medium (5.3) in golang crypto. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in golang.org/x/crypto 0.52.0.

On this page
SSH servers which use CertChecker as a public key callback without setting IsUserAuthority or IsHostAuthority could be caused to panic by a client presenting a certificate. CertChecker now returns an error instead of panicking when these callbacks are nil.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 44th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-05-22. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-295 Improper Certificate Validation
CWE-476 NULL Pointer Dereference
OWASP Top 10
A07:2025 Authentication Failures, A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-39835 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-39835?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-39835?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-39835 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
golang.org/x/crypto/sshbefore 0.52.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-78mq-xcr3-xm33Gogolang.org/x/crypto<0.52.00.52.0
GO-2026-5015Gogolang.org/x/crypto<0.52.00.52.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13golang-go.cryptono fix listedDEBIAN-CVE-2026-39835
Debian14golang-go.crypto1:0.52.0-1DEBIAN-CVE-2026-39835
Ubuntu22.04:LTS, 24.04:LTS, 26.04:LTSsnapd, google-guest-agentno fix listedUBUNTU-CVE-2026-39835
Ubuntu25.10, 26.10, Pro:20.04:LTSsnapd, golang-go.crypto, google-guest-agentno fix listedUBUNTU-CVE-2026-39835
UbuntuPro:16.04:LTS, Pro:18.04:LTSlxd, snapd, golang-go.crypto and 1 moreno fix listedUBUNTU-CVE-2026-39835
UbuntuPro:22.04:LTS, Pro:24.04:LTS, Pro:26.04:LTSgolang-go.cryptono fix listedUBUNTU-CVE-2026-39835
Red Hatenterprise_linux:8::appstreamaardvark-dns2:1.10.1-2.module+el8.10.0+24510+6ea3880eRHSA-2026:38504
Red Hatenterprise_linux:8::appstreambuildah, buildah-tests, buildah-debuginfo and 2 more2:1.33.14-4.module+el8.10.0+24510+6ea3880eRHSA-2026:38504
Red Hatenterprise_linux:8::appstreamcockpit-podman0:84.1-1.module+el8.10.0+24510+6ea3880eRHSA-2026:38504
Red Hatenterprise_linux:8::appstreamconmon, conmon-debuginfo, conmon-debugsource3:2.1.10-1.module+el8.10.0+24510+6ea3880eRHSA-2026:38504
Red Hatenterprise_linux:8::appstreamcontainer-selinux2:2.229.0-3.module+el8.10.0+24510+6ea3880eRHSA-2026:38504
Red Hatenterprise_linux:8::appstreamcontainernetworking-plugins, containernetworking-plugins-debuginfo, containernetworking-plugins-debugsource1:1.4.0-8.module+el8.10.0+24510+6ea3880eRHSA-2026:38504
Red Hatenterprise_linux:8::appstreamcontainers-common2:1-82.module+el8.10.0+24510+6ea3880eRHSA-2026:38504
Red Hatenterprise_linux:8::appstreamcrit, criu, criu-libs and 5 more0:3.18-5.module+el8.10.0+24510+6ea3880eRHSA-2026:38504
Red Hatenterprise_linux:8::appstreamcrun, crun-debuginfo, crun-debugsource0:1.14.3-2.module+el8.10.0+24510+6ea3880eRHSA-2026:38504
Red Hatenterprise_linux:8::appstreamfuse-overlayfs, fuse-overlayfs-debuginfo, fuse-overlayfs-debugsource0:1.13-1.module+el8.10.0+24510+6ea3880eRHSA-2026:38504
Red Hatenterprise_linux:8::appstreamlibslirp, libslirp-devel, libslirp-debuginfo and 1 more0:4.4.0-2.module+el8.10.0+24510+6ea3880eRHSA-2026:38504
Red Hatenterprise_linux:8::appstreamnetavark2:1.10.3-1.module+el8.10.0+24510+6ea3880eRHSA-2026:38504
12 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 morecosign3.1.1-150400.3.45.1SUSE-SU-2026:2827-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 moredistribution3.1.1-150400.9.41.1SUSE-SU-2026:4212-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Server 15 SP4-LTSS and 1 morebuildah1.35.5-150400.3.68.1SUSE-SU-2026:2706-1
SUSELinux Enterprise High Performance Computing 15 SP5-ESPOS, Linux Enterprise High Performance Computing 15 SP5-LTSS, Linux Enterprise Module for Containers 15 SP7 and 4 morebuildah1.35.5-150500.3.62.1SUSE-SU-2026:2733-1
SUSELinux Enterprise Micro 5.5, Linux Enterprise Module for Public Cloud 15 SP4, Linux Enterprise Module for Public Cloud 15 SP5 and 2 moregoogle-guest-agent20260529.00-150000.1.70.1SUSE-SU-2026:2612-1
SUSELinux Enterprise Micro 5.5, Linux Enterprise Module for Public Cloud 15 SP4, Linux Enterprise Module for Public Cloud 15 SP5 and 2 moregoogle-osconfig-agent20260615.01-150000.1.55.1SUSE-SU-2026:2611-1
SUSELinux Enterprise Module for Basesystem 15 SP7alloy1.17.1-150700.15.23.1SUSE-SU-2026:2824-1
SUSELinux Enterprise Module for Containers 15 SP7containerized-data-importer1.64.0-150700.9.14.1SUSE-SU-2026:4209-1
SUSELinux Enterprise Module for Containers 15 SP7kubevirt1.7.4-150700.3.30.1SUSE-SU-2026:3203-1
SUSELinux Enterprise Module for HPC 15 SP7, Linux Enterprise Server 15 SP6-LTSSapptainer1.5.1-150600.4.24.1SUSE-SU-2026:2609-1
SUSELinux Enterprise Module for Public Cloud 12amazon-ssm-agent3.3.4624.0-4.49.1SUSE-SU-2026:2468-1
SUSELinux Enterprise Module for Public Cloud 12google-guest-agent20260529.00-1.61.1SUSE-SU-2026:2581-1
29 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 16.0alloy1.17.0-160000.1.1openSUSE-SU-2026:21251-1
openSUSELeap 16.0amazon-ssm-agent3.3.4624.0-160000.1.1openSUSE-SU-2026:21079-1
openSUSELeap 16.0cloudflared2026.9.1-bp160.1.1openSUSE-SU-2026:21924-1
openSUSELeap 16.0containerized-data-importer1.651.65.0-160000.3.1openSUSE-SU-2026:21824-1
openSUSELeap 16.0cosign3.1.1-160000.1.1openSUSE-SU-2026:21281-1
openSUSELeap 16.0distribution3.1.1-160000.1.1openSUSE-SU-2026:21084-1
openSUSELeap 16.0glab1.114.0-bp160.1.1openSUSE-SU-2026:21662-1
openSUSELeap 16.0google-guest-agent20260529.00-160000.1.1openSUSE-SU-2026:21069-1
openSUSELeap 16.0google-osconfig-agent20260615.01-160000.1.2openSUSE-SU-2026:21210-1
openSUSELeap 16.0govulncheck-vulndb0.0.20260723T184607-160000.1.1openSUSE-SU-2026:21483-1
openSUSELeap 16.0kubevirt1.81.8.4-160000.1.1openSUSE-SU-2026:21590-1
openSUSELeap 16.0mcphost0.34.0-160000.2.1openSUSE-SU-2026:21120-1
11 more for openSUSE in the JSON and on openSUSE's page.
AlmaLinux8aardvark-dns2:1.10.1-2.module_el8.10.0+3901+4b80ecd7ALSA-2026:38504
AlmaLinux8aardvark-dns2:1.10.1-2.module_el8.10.0+3909+6e1c1eb7ALSA-2026:38504
AlmaLinux8aardvark-dns2:1.10.1-2.module_el8.10.0+4047+545787c4ALSA-2026:38504
AlmaLinux8aardvark-dns2:1.10.1-2.module_el8.10.0+4089+ce72bbbeALSA-2026:38504
AlmaLinux8buildah, buildah-tests2:1.33.14-4.module_el8.10.0+4213+0493256bALSA-2026:38504
AlmaLinux8cockpit-podman84.1-1.module_el8.10.0+4102+6c76e544ALSA-2026:38504
AlmaLinux8conmon3:2.1.10-1.module_el8.10.0+3970+8445edf6ALSA-2026:38504
AlmaLinux8conmon3:2.1.10-1.module_el8.10.0+4068+0e21408fALSA-2026:38504
AlmaLinux8conmon3:2.1.10-1.module_el8.10.0+4090+91932338ALSA-2026:38504
AlmaLinux8container-selinux2:2.229.0-3.module_el8.10.0+4213+0493256bALSA-2026:38504
AlmaLinux8containernetworking-plugins1:1.4.0-8.module_el8.10.0+4136+16425343ALSA-2026:38504
AlmaLinux8containers-common2:1-82.module_el8.10.0+3876+e55593a8ALSA-2026:38504
51 more for AlmaLinux in the JSON.
Rocky Linux8aardvark-dns2:1.10.1-2.module+el8.10.0+1874+ce489889RLSA-2026:38504
Rocky Linux8aardvark-dns2:1.10.1-2.module+el8.10.0+1880+8e896d1bRLSA-2026:38504
Rocky Linux8aardvark-dns2:1.10.1-2.module+el8.10.0+1896+b18fa106RLSA-2026:38504
Rocky Linux8aardvark-dns2:1.10.1-2.module+el8.10.0+1948+4b5cd4a9RLSA-2026:38504
Rocky Linux8aardvark-dns2:1.10.1-2.module+el8.10.0+2001+6a33db9fRLSA-2026:38504
Rocky Linux8aardvark-dns2:1.10.1-2.module+el8.10.0+40047+0c0a73f4RLSA-2026:38504
Rocky Linux8aardvark-dns2:1.10.1-2.module+el8.10.0+40133+32c21f88RLSA-2026:38504
Rocky Linux8cockpit-podman0:84.1-1.module+el8.10.0+1815+5fe7415eRLSA-2026:38504
Rocky Linux8cockpit-podman0:84.1-1.module+el8.10.0+1825+623b0c20RLSA-2026:38504
Rocky Linux8cockpit-podman0:84.1-1.module+el8.10.0+1843+6892ab28RLSA-2026:38504
Rocky Linux8cockpit-podman0:84.1-1.module+el8.10.0+1872+2e18eb19RLSA-2026:38504
Rocky Linux8cockpit-podman0:84.1-1.module+el8.10.0+1874+ce489889RLSA-2026:38504
128 more for Rocky Linux in the JSON.
Azure Linux3buildahno fix listedAZL-87191
Azure Linux3cert-manager1.12.15-9AZL-87417
Azure Linux3cf-cli8.7.11-7AZL-87465

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This is an Important denial of service flaw in `golang.org/x/crypto/ssh` affecting SSH servers that utilize `CertChecker` as a public key callback without explicitly configuring `IsUserAuthority` or `IsHostAuthority`. A remote, unauthenticated attacker can trigger a server panic by presenting a specially crafted certificate, leading to service disruption. Exploitation requires a specific, non-default configuration of the `CertChecker`.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Cryostat 4 on RHEL 9cryostat/cryostat-storage-rhel9:4.2.0-19Fixed 2026-07-29RHSA-2026:48151
Red Hat Enterprise Linux 10buildah-2:1.43.1-3.el10_2Fixed 2026-07-07RHSA-2026:36199
Red Hat Enterprise Linux 10podman-7:5.8.2-4.el10_2Fixed 2026-07-09RHSA-2026:37072
Red Hat Enterprise Linux 8container-tools:rhel8-8100020260709093628.afee755dFixed 2026-07-13RHSA-2026:38504
Red Hat Enterprise Linux 9podman-6:5.8.2-4.el9_8Fixed 2026-07-09RHSA-2026:37123
Red Hat Enterprise Linux 9buildah-2:1.43.1-3.el9_8Fixed 2026-07-09RHSA-2026:37410
Red Hat OpenShift Container Platform 4.22openshift-0:4.22.0-202608010430.p2.g5f1e0e7.assembly.stream.el8Fixed 2026-08-11RHSA-2026:51036
RHEM 1.0 for RHEL 9flightctl-0:1.0.3-1.el9emFixed 2026-07-08RHSA-2026:36796
RHEM 1.1 for RHEL 10flightctl-0:1.1.3-1.el10emFixed 2026-07-16RHSA-2026:41019
RHEM 1.1 for RHEL 9flightctl-0:1.1.3-1.el9emFixed 2026-07-16RHSA-2026:41019
Assisted Installer for Red Hat OpenShift Container Platform 2assisted/agent-preinstall-image-builder-rhel9Affected
Confidential Compute Attestationopenshift-sandboxed-containers/osc-cloud-api-adaptor-rhel9Will not fix
Confidential Compute Attestationopenshift-sandboxed-containers/osc-podvm-payload-rhel9Will not fix
Confidential Compute Attestationopenshift-sandboxed-containers/osc-rhel9-operatorWill not fix
ExternalDNS Operatoredo/external-dns-rhel9Not affected
Multicluster Engine for Kubernetesmulticluster-engine/assisted-service-8-rhel8Affected
Multicluster Engine for Kubernetesmulticluster-engine/assisted-service-9-rhel9Affected
Multicluster Engine for Kubernetesmulticluster-engine/azure-service-operator-rhel9Affected
Multicluster Engine for Kubernetesmulticluster-engine/cluster-api-provider-azure-rhel9Affected
Multicluster Engine for Kubernetesmulticluster-engine/cluster-api-provider-kubevirt-rhel9Affected
345 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-39835.

Attack patterns (CAPEC)

  • CAPEC-459 Creating a Rogue Certification Authority Certificate Likelihood: Medium · Severity: Very High
  • CAPEC-475 Signature Spoofing by Improper Validation Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON