ZeroHour

CVE-2026-78662

mass

Deadlock DoS in golang.org/x/crypto SSH multiplexer via channel-request flood

CVSS 3.1
7.5 high
EPSS
<1%p24
Published
()
Modified
AI analysis

The SSH connection multiplexer in golang.org/x/crypto registers a channel in its chanList before the channel is established, and a malicious SSH peer could flood that channel's incoming request queue with channel requests, deadlocking the entire SSH connection (CWE-770, allocation of resources without limits). An attacker who can act as an SSH peer — a client connecting to a Go-based SSH server, a server to which a Go SSH client connects, or a man-in-the-middle — triggers the flaw simply by sending the crafted request flood during channel setup. The result is denial of service: the affected connection hangs, and for server applications this can stall or exhaust connection handling. Any application built with the golang.org/x/crypto ssh package that communicates with untrusted SSH peers is affected; specific affected version ranges are not stated in the available data. No public proof-of-concept or known exploitation exists; EPSS puts the 30-day exploitation probability at about 0.3% (24th percentile), and the issue is not in CISA KEV.

What to do: Upgrade golang.org/x/crypto to a release containing the fix (the change adding an atomic established state so that, until a channel is established, all packets other than the open confirmation/failure are dropped without blocking or tearing down the connection), then rebuild and redeploy every Go binary that embeds the ssh package. Until patched, restrict SSH connectivity to trusted peers, since exploitation requires a malicious SSH endpoint; review Go vulnerability database announcements for the exact fixed version.

Affected
golang crypto (golang.org/x/crypto, SSH connection-multiplexer code)Releases prior to the fix that adds the atomic established state; no specific version range or fixed version number was provided in the available data
Estimated exposure
masslikely >100,000 exposed SSH endpoints plus far larger numbers of embedded/bundled uses (estimate) — golang.org/x/crypto's ssh package is a foundational library bundled into very widely deployed Go software (containers, orchestrators, CI/CD and git-hosting tooling), and public internet scans of SSH banners show Go-based SSH servers at…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

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.

Vendors
golang
Products
crypto
Weakness
CWE-770
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

In the news

No ingested article mentions this CVE yet.