Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-39835: CWE-476: NULL Pointer Dereference in golang.org/x/crypto golang.org/x/crypto/ssh

0
Unknown
VulnerabilityCVE-2026-39835cvecve-2026-39835cwe-476
Published: Fri May 22 2026 (05/22/2026, 02:31:26 UTC)
Source: CVE Database V5
Vendor/Project: golang.org/x/crypto
Product: golang.org/x/crypto/ssh

Description

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/22/2026, 03:45:03 UTC

Technical Analysis

The vulnerability (CVE-2026-39835) affects the golang.org/x/crypto/ssh package. When an SSH server uses CertChecker as a public key callback but does not set the IsUserAuthority or IsHostAuthority callbacks, a client presenting a certificate can trigger a NULL pointer dereference, causing the server to panic. The issue arises because CertChecker previously did not handle nil callbacks gracefully. The updated behavior is to return an error instead of panicking, preventing the NULL pointer dereference.

Potential Impact

An attacker could cause the SSH server to panic, potentially leading to denial of service conditions. There is no indication of code execution or privilege escalation. No known exploits are reported in the wild.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Users should verify if their golang.org/x/crypto/ssh version includes the fix where CertChecker returns an error instead of panicking when IsUserAuthority or IsHostAuthority are nil. Until then, avoid using CertChecker without setting these callbacks or implement additional error handling to prevent server crashes.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
Go
Date Reserved
2026-04-07T18:13:03.529Z
Cvss Version
null
State
PUBLISHED
Remediation Level
null

Threat ID: 6a0fcdabe1370fbb487d5029

Added to database: 5/22/2026, 3:29:47 AM

Last enriched: 5/22/2026, 3:45:03 AM

Last updated: 5/22/2026, 5:21:13 PM

Views: 7

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses