CVE-2026-39835

MEDIUM5.3EPSS 0.03%

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

Published: 5/22/2026Modified: 5/29/2026

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.

Affected packages (2)

CVSS scores

SourceVersionSeverityVector
osvCVSS 3.1MEDIUM5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

References (4)