GO-2026-5015

Source
https://pkg.go.dev/vuln/GO-2026-5015
Import Source
https://vuln.go.dev/ID/GO-2026-5015.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2026-5015
Aliases
  • CVE-2026-39835
Published
2026-05-22T02:08:34Z
Modified
2026-05-22T02:30:20.667214785Z
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.

Database specific
{
    "url": "https://pkg.go.dev/vuln/GO-2026-5015",
    "review_status": "REVIEWED"
}
References
Credits
    • NCC Group Cryptography Services, sponsored by Teleport

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
0Unknown introduced version / All previous versions are affected
Fixed
0.52.0

Ecosystem specific

{
    "imports": [
        {
            "symbols": [
                "CertChecker.Authenticate",
                "CertChecker.CheckHostKey"
            ],
            "path": "golang.org/x/crypto/ssh"
        }
    ]
}

Database specific

source
"https://vuln.go.dev/ID/GO-2026-5015.json"