CVE-2026-39835

GHSA-78mq-xcr3-xm33 · GO-2026-5015 · published 22 May 2026 · updated 14 Nov 2026

Invoking server panic during CheckHostKey/Authenticate in golang.org/x/crypto/ssh

5.3MediumCVSS 5.3EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 0.52.0 and golang.org/x/crypto 0.52.0.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
golang.org/x/crypto<0.52.00.52.0
go: golang.org/x/crypto<0.52.00.52.0

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in golang.org/x/crypto (Go), strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-39835 severity on Zeptric[![CVE-2026-39835](https://zeptric.io/badge/cve/CVE-2026-39835.svg)](https://zeptric.io/cve/CVE-2026-39835)