CVE-2026-39835

MEDIUM

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

Title source: cna
STIX 2.1

Description

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.

Scores

CVSS v3 5.3
EPSS 0.0021
EPSS Percentile 10.9%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-295
Status published
Products (2)
golang/crypto < 0.52.0
golang.org/x/crypto/golang.org/x/crypto/ssh < 0.52.0
Published May 22, 2026
Tracked Since May 22, 2026