CVE-2026-39835Published May 22, 2026 · May 22Updated 5h ago
Invoking server panic during CheckHostKey/Authenticate in golang.org/x/crypto/ssh
golang.org/x/crypto/ssh
High7.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| golang.org/x/crypto Go |
|
|
Original 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.
From the CVE record · Go