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.

References (45)

Core 45
Core References

Scores

CVSS v3 5.3
EPSS 0.0050
EPSS Percentile 40.3%
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 CWE-476
Status published
Products (3)
golang/crypto < 0.52.0
golang.org/x/crypto/golang.org/x/crypto/ssh < 0.52.0
x/crypto 0 - 0.52.0Go
Published May 22, 2026
Tracked Since May 22, 2026