{"id":"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.","aliases":["GHSA-78mq-xcr3-xm33","GO-2026-5015"],"modified":"2026-07-18T03:46:56.607565966Z","published":"2026-05-22T02:31:26.982Z","related":["ALSA-2026:36199","ALSA-2026:37123","ALSA-2026:37410","ALSA-2026:38504","CGA-p8m7-4pf5-w9v8","SUSE-SU-2026:22065-1","SUSE-SU-2026:22074-1","SUSE-SU-2026:22157-1","SUSE-SU-2026:22159-1","SUSE-SU-2026:22193-1","SUSE-SU-2026:22226-1","SUSE-SU-2026:22242-1","SUSE-SU-2026:22249-1","SUSE-SU-2026:22376-1","SUSE-SU-2026:22423-1","SUSE-SU-2026:22442-1","SUSE-SU-2026:22451-1","SUSE-SU-2026:22516-1","SUSE-SU-2026:22558-1","SUSE-SU-2026:22575-1","SUSE-SU-2026:22613-1","SUSE-SU-2026:2467-1","SUSE-SU-2026:2468-1","SUSE-SU-2026:2581-1","SUSE-SU-2026:2609-1","SUSE-SU-2026:2611-1","SUSE-SU-2026:2612-1","SUSE-SU-2026:2665-1","SUSE-SU-2026:2706-1","SUSE-SU-2026:2733-1","SUSE-SU-2026:2824-1","SUSE-SU-2026:2827-1","SUSE-SU-2026:3056-1","openSUSE-SU-2026:10842-1","openSUSE-SU-2026:10845-1","openSUSE-SU-2026:10856-1","openSUSE-SU-2026:10949-1","openSUSE-SU-2026:11126-1","openSUSE-SU-2026:20834-1","openSUSE-SU-2026:20838-1","openSUSE-SU-2026:20902-1","openSUSE-SU-2026:20956-1","openSUSE-SU-2026:21069-1","openSUSE-SU-2026:21079-1","openSUSE-SU-2026:21084-1","openSUSE-SU-2026:21120-1","openSUSE-SU-2026:21210-1","openSUSE-SU-2026:21244-1","openSUSE-SU-2026:21251-1","openSUSE-SU-2026:21281-1"],"database_specific":{"cna_assigner":"Go","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/39xxx/CVE-2026-39835.json","unresolved_ranges":[{"extracted_events":[{"fixed":"0.52.0"}],"source":"AFFECTED_FIELD"}]},"references":[{"type":"WEB","url":"https://go.dev/cl/781660"},{"type":"WEB","url":"https://go.dev/issue/79563"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/a082jnz-LvI"},{"type":"WEB","url":"https://pkg.go.dev"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2026-5015"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-39835.json"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:26546"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:26547"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:36199"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:36207"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:36319"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:36625"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:36648"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:36651"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:36796"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:36797"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:37072"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:37123"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:37268"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:37271"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:37272"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:37286"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:37296"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:37387"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:37410"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:38504"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:40118"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:40262"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:40945"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:40969"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:40972"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:40974"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:41019"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:41031"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:41036"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:41066"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2026-39835"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/39xxx/CVE-2026-39835.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-39835"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2480680"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/golang/crypto","events":[{"introduced":"0"},{"fixed":"a1c0d9929856c8aba2b31f079340f00578eda803"}],"database_specific":{"source":"CPE_RANGE","cpe":"cpe:2.3:a:golang:crypto:*:*:*:*:*:go:*:*","extracted_events":[{"introduced":"0"},{"fixed":"0.52.0"}]}}],"versions":["v0.51.0","v0.50.0","v0.49.0","v0.48.0","v0.47.0","v0.46.0","v0.45.0","v0.44.0","v0.43.0","v0.42.0","v0.41.0","v0.40.0","v0.39.0","v0.38.0","v0.37.0","v0.36.0","v0.35.0","v0.34.0","v0.33.0","v0.32.0","v0.31.0","v0.30.0","v0.29.0","v0.28.0","v0.27.0","v0.26.0","v0.25.0","v0.24.0","v0.23.0","v0.22.0","v0.21.0","v0.20.0","v0.19.0","v0.18.0","v0.17.0","v0.16.0","v0.15.0","v0.14.0","v0.13.0","v0.12.0","v0.11.0","v0.10.0","v0.9.0","v0.8.0","v0.7.0","v0.6.0","v0.5.0","v0.4.0","v0.3.0","v0.2.0","v0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-39835.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}]}