Home

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.

PUBLISHED Reserved 2026-04-07 | Published 2026-05-22 | Updated 2026-05-22 | Assigner Go

Problem types

CWE-476: NULL Pointer Dereference

Product status

Default status
unaffected

Any version before 0.52.0
affected

Credits

NCC Group Cryptography Services, sponsored by Teleport

References

go.dev/issue/79563

groups.google.com/g/golang-announce/c/a082jnz-LvI

go.dev/cl/781660

pkg.go.dev/vuln/GO-2026-5015

cve.org (CVE-2026-39835)

nvd.nist.gov (CVE-2026-39835)

Download JSON