GO-2026-5015
Dashboard / Vulnerabilities / GO-2026-5015
GO-2026-5015
Published: 22 May 2026Last Modified: 12 Aug 2026
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.
References: https://go.dev/issue/79563, https://groups.google.com/g/golang-announce/c/a082jnz-LvI, https://go.dev/cl/781660
Affected packages
Package
Name: golang.org/x/crypto
Purl: pkg:golang/golang.org/x/crypto
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -0.52.0
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
