{"schema_version":"1.3.1","id":"GO-2026-5015","modified":"2026-05-22T02:08:34Z","published":"2026-05-22T02:08:34Z","aliases":["CVE-2026-39835"],"summary":"Invoking server panic during CheckHostKey/Authenticate in golang.org/x/crypto/ssh","details":"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":[{"package":{"name":"golang.org/x/crypto","ecosystem":"Go"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.52.0"}]}],"ecosystem_specific":{"imports":[{"path":"golang.org/x/crypto/ssh","symbols":["CertChecker.Authenticate","CertChecker.CheckHostKey"]}]}}],"references":[{"type":"REPORT","url":"https://go.dev/issue/79563"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/a082jnz-LvI"},{"type":"FIX","url":"https://go.dev/cl/781660"}],"credits":[{"name":"NCC Group Cryptography Services, sponsored by Teleport"}],"database_specific":{"url":"https://pkg.go.dev/vuln/GO-2026-5015","review_status":"REVIEWED"}}