GHSA-78mq-xcr3-xm33

Suggest an improvement
Source
https://github.com/advisories/GHSA-78mq-xcr3-xm33
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-78mq-xcr3-xm33/GHSA-78mq-xcr3-xm33.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-78mq-xcr3-xm33
Aliases
Downstream
CGA (4462)
MINI (230)
Published
2026-06-25T22:15:17Z
Modified
2026-09-11T15:45:36Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L CVSS Calculator
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.

Database specific
{
    "cwe_ids":  [
        "CWE-295",
        "CWE-476"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-06-25T22:15:17Z",
    "nvd_published_at":  "2026-05-22T04:16:24Z",
    "severity":  "MODERATE"
}
References

Affected packages

Go / golang.org/x/crypto

Package

Name
golang.org/x/crypto
View open source insights on deps.dev
Purl
pkg:golang/golang.org/x/crypto

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.52.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-78mq-xcr3-xm33/GHSA-78mq-xcr3-xm33.json"