CVE-2026-78662

Prevent DoS on deadlocked undecided channel in golang.org/x/crypto/ssh

Published Sep 2, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
Previously, a channel registered in the mux's chanList is not usable until it is established. A malicious peer was able flood the channel's incomingRequests, deadlocking the entire connection. Now, we add an atomic established state, set when a channel becomes usable. Until such a time, handlePacket drops every packet other than the open confirmation/failure, without blocking and without tearing down the connection.

Analysis

AI-generated

Technical impact

A malicious peer can send a flood of channel open requests to a Go SSH server before the channel is officially established. The library's channel multiplexing structure queues these requests and, without any guard, can become deadlocked, causing the entire SSH connection to become unresponsive and effectively denying service. This flaw does not enable arbitrary code execution but can halt SSH sessions and affect any client attempting to use the affected channel.

Affected Systems

Any installation that uses the golang.org/x/crypto/ssh package and its channel multiplexer before the fix is affected; version information is not specified, so all uses prior to the updated release are potentially vulnerable.

Risk and Exploitability

The vulnerability is exploitable over the network by an attacker who can establish an SSH session and send repeated channel requests. No login credentials or privileged access are required. The EPSS score is less than 1% and the issue is not listed in CISA KEV, so the quantified risk is unknown, but remote denial of service is possible. The CVSS score is 7.5, indicating a high severity vulnerability. The fix adds an atomic established state and drops packets until the channel is usable, thereby preventing the deadlock.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade golang.org/x/crypto to the latest released version that contains the atomic establishment guard.
  • If an upgrade is not immediately feasible, constrain the rate of inbound SSH channel open requests or apply firewall rules to limit connections from suspicious IPs.
  • Enable application‑level logging of channel open attempts and monitor for patterns indicative of flooding; consider implementing a temporary gate that rejects excess requests until the channel is confirmed.

Generated by OpenCVE AI on September 10, 2026 at 06:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-400
CWE-417
Type Values Removed Values Added
CPEs cpe:2.3:a:golang:crypto:*:*:*:*:*:go:*:*
Type Values Removed Values Added
First Time appeared Golang
Golang crypto
Vendors & Products Golang
Golang crypto
Type Values Removed Values Added
Weaknesses CWE-770
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-400
CWE-417
Type Values Removed Values Added
Description Previously, a channel registered in the mux's chanList is not usable until it is established. A malicious peer was able flood the channel's incomingRequests, deadlocking the entire connection. Now, we add an atomic established state, set when a channel becomes usable. Until such a time, handlePacket drops every packet other than the open confirmation/failure, without blocking and without tearing down the connection.
Title Prevent DoS on deadlocked undecided channel in golang.org/x/crypto/ssh
References
Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling

  • CWE-833

    Deadlock

Sources

Status
PUBLISHED
Assigner
Go
Published
Updated
Sep 3, 2026, 1:20 PM
Reserved
Aug 24, 2026, 11:36 PM
Status
Analyzed
Published
Sep 2, 2026, 8:17 PM
Modified
Sep 4, 2026, 4:33 PM
Severity
Moderate
Public date
Sep 2, 2026, 7:37 PM