GitHub Advisoryadvisory · Go
GHSA-78mq-xcr3-xm33 golang.org/x/crypto is vulnerable to invoking server panic during CheckHostKey/Authenticate flow
MEDIUM
Official page ↗
- Aliases
- CVE-2026-39835
- Ecosystem
- Go
- Packages
- golang.org/x/crypto
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- Weaknesses
- CWE-295, CWE-476
- Reviewed
- 2026-06-25
Affected packages
• Go golang.org/x/crypto: < 0.52.0 → fixed in 0.52.0
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.
Related
Alias · CVE (1)
- CVE-2026-39835 SSH servers which use CertChecker as a public key callback without setting IsUserAuthority or IsHostAuthority could be caused to panic by a… vulnerability
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-39835 advisory
- https://access.redhat.com/errata/RHSA-2026:26546 web
- https://access.redhat.com/errata/RHSA-2026:42796 web
- https://access.redhat.com/errata/RHSA-2026:43052 web
- https://access.redhat.com/errata/RHSA-2026:43692 web
- https://access.redhat.com/errata/RHSA-2026:46885 web
- https://access.redhat.com/errata/RHSA-2026:47735 web
- https://access.redhat.com/errata/RHSA-2026:47949 web
- https://access.redhat.com/errata/RHSA-2026:48151 web
- https://access.redhat.com/errata/RHSA-2026:51033 web
- https://access.redhat.com/errata/RHSA-2026:51036 web
- https://access.redhat.com/errata/RHSA-2026:51038 web
- https://access.redhat.com/errata/RHSA-2026:52857 web
- https://access.redhat.com/errata/RHSA-2026:52910 web
- https://access.redhat.com/errata/RHSA-2026:54525 web
- https://access.redhat.com/errata/RHSA-2026:57194 web
- https://access.redhat.com/errata/RHSA-2026:59467 web
- https://access.redhat.com/errata/RHSA-2026:59593 web
- https://access.redhat.com/errata/RHSA-2026:60520 web
- https://access.redhat.com/errata/RHSA-2026:62260 web
- https://access.redhat.com/errata/RHSA-2026:65126 web
- https://access.redhat.com/errata/RHSA-2026:66022 web
- https://access.redhat.com/errata/RHSA-2026:66521 web
- https://access.redhat.com/security/cve/CVE-2026-39835 web
- https://bugzilla.redhat.com/show_bug.cgi?id=2480680 web
- https://cs.opensource.google/go/x/crypto package
- https://go.dev/cl/781660 web
- https://go.dev/issue/79563 web
- https://groups.google.com/g/golang-announce/c/a082jnz-LvI web
- https://pkg.go.dev/vuln/GO-2026-5015 web
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-39835.json web
- https://access.redhat.com/errata/RHSA-2026:26547 web
- https://access.redhat.com/errata/RHSA-2026:36199 web
- https://access.redhat.com/errata/RHSA-2026:36207 web
- https://access.redhat.com/errata/RHSA-2026:36319 web
- https://access.redhat.com/errata/RHSA-2026:36625 web
- https://access.redhat.com/errata/RHSA-2026:36648 web
- https://access.redhat.com/errata/RHSA-2026:36651 web
- https://access.redhat.com/errata/RHSA-2026:36796 web
- https://access.redhat.com/errata/RHSA-2026:36797 web