Advisory

GHSA-78mq-xcr3-xm33

Also known as: CVE-2026-39835, GO-2026-5015

Summary

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

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-06-25 22:15 UTC
Modified
2026-09-11 15:45 UTC

Affected packages and fixes

golang.org/x/crypto

Go · All systems

Affected

  • introduced 0, fixed 0.52.0 (semver)

Fixed versions

0.52.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences