Skip to main content
EPSS 0.5%top 59%

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

0
Medium
VulnerabilityCVE-2026-39835cvecve-2026-39835cwe-476
Published: 05/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.

CVSS v3.1

Score 5.3medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected software

golang.org/x/crypto

golang.org/x/crypto/ssh

Affected versions
>=0 <0.52.0
golang.org/x/crypto/ssh
pkg:golang/golang.org/x/crypto/ssh
Affected versions
=0
golang.org/x/crypto/ssh
pkg:golang/golang.org/x/crypto/ssh
Affected versions
>=0 <0.52.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/17/2026, 13:18:41 UTC

Technical Analysis

CVE-2026-39835 is a NULL pointer dereference vulnerability (CWE-476) in golang.org/x/crypto/ssh. It occurs when SSH servers use CertChecker as a public key callback without explicitly setting the IsUserAuthority or IsHostAuthority callbacks. An unauthenticated remote attacker can exploit this by presenting a specially crafted SSH certificate, causing the server to panic and crash, resulting in a denial of service. The vulnerability requires a specific, non-default CertChecker configuration. Red Hat's advisory confirms the issue and notes that no current mitigation fully meets their criteria. The vulnerability has a CVSS v3.1 base score of 5.3 (medium severity) with network attack vector, low complexity, no privileges or user interaction required, and an availability impact classified as low by cve.org but high by Red Hat.

Potential Impact

The vulnerability allows a remote unauthenticated attacker to cause a denial of service by crashing the SSH server through a crafted certificate. This results in service disruption but does not impact confidentiality or integrity. Exploitation requires a specific CertChecker configuration that is not the default, limiting the scope of affected deployments.

Mitigation Recommendations

Currently, no mitigation is available that meets Red Hat's criteria for ease of use, applicability, and stability. Users should monitor vendor advisories for updates and apply patches when they become available. Red Hat is working on fixes and will release updates in affected products such as Red Hat Edge Manager. Until then, avoid using CertChecker without explicitly setting IsUserAuthority or IsHostAuthority callbacks if possible.

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
State
PUBLISHED
Vendor Advisory Urls
[{"url":"https://access.redhat.com/security/cve/CVE-2026-39835","vendor":"Red Hat"}]

Threat ID: 6a0fcdabe1370fbb487d5029

Added to database: 05/22/2026, 03:29:47 UTC

Last enriched: 08/17/2026, 13:18:41 UTC

Last updated: 09/12/2026, 10:01:31 UTC

Views: 97

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.

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