CVE-2026-39835: CWE-476: NULL Pointer Dereference in golang.org/x/crypto golang.org/x/crypto/ssh
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 Analysis
Technical Summary
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.
CVE-2026-39835: CWE-476: NULL Pointer Dereference in golang.org/x/crypto 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
Affected software
golang.org/x/crypto
golang.org/x/crypto/ssh
pkg:golang/golang.org/x/crypto/sshRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.