Security mailing lists by PureSourceCode

CVE-2026-39835

MEDIUM 5.3CVSS 3.1

golang.org/x/crypto is vulnerable to invoking server panic during CheckHostKey/Authenticate flow

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
22 May 2026
Last modified
25 Nov 2026
Assigned by
security@golang.org
NVD status
Modified
Weakness
CWE-295CWE-476
Also known as
GHSA-78mq-xcr3-xm33GO-2026-5015
Sources
NVDJSONOSV GHSA-78mq-xcr3-xm33JSONOSV GO-2026-5015JSON

Scores

SourceScored byVersionScoreVector / decision
NVD 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
OSV GitHub CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD golang crypto
cpe:2.3:a:golang:crypto:*:*:*:*:*:go:*:*
< 0.52.0 0.52.0
OSV Go golang.org/x/crypto < 0.52.0 0.52.0

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 22 May 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 22 May 2026)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 25 Jun 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.