ZeroHour

CVE-2026-56855

large

Unauthenticated SSH connection deadlock DoS in Go golang.org/x/crypto (ssh)

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

CVE-2026-56855 is a remote denial-of-service flaw in the SSH implementation of Go's golang.org/x/crypto library, in which, after an SSH channel is established, a malicious peer can send crafted protocol messages that deadlock the entire connection. The implementation buffered and blocked on unexpected RFC 4254 channel messages and global requests instead of rejecting them, an unbounded-resource pattern (CWE-770) that lets an attacker stall the connection. Per the CVSS 3.1 score (AV:N/AC:L/PR:N/UI:N, availability high, confidentiality and integrity unaffected), an attacker gains high-impact availability loss on affected SSH sessions, with no code execution or data compromise. Any application or service built on the affected Go SSH library is exposed whenever it communicates with a malicious peer, on both the client and server sides. Exploitation has not been observed: there is no public proof-of-concept, the flaw is not in CISA KEV, and EPSS estimates a 0.4% probability of exploitation within 30 days.

What to do: Update golang.org/x/crypto to the latest patched release and rebuild all Go applications that depend on it (run govulncheck or inspect go.sum/go.mod for the dependency), as the source data does not include a fixed version number. Until patched, restrict SSH endpoints to trusted peers and monitor for hung or deadlocked SSH connections, since a malicious peer needs only an established channel to trigger the deadlock.

Affected
golang crypto (golang.org/x/crypto SSH library)
Estimated exposure
largeorder of tens of thousands of SSH-enabled deployments (estimate; no install counts or scan data in the source) — No active-install counts or internet-scan figures were provided, so the magnitude is inferred from deployment patterns: golang.org/x/crypto/ssh is a foundational Go dependency embedded in many SSH servers, clients, and infrastructure…

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

Description

Previously, after a channel has been established, a malicious peer could send crafted messages that would deadlock the entire connection. Now, we handle all RFC 4254 channel messages; global requests are handled explicitly. Then, treat all other messages as a protocol error and tear the connection down instead of buffering and blocking.

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

In the news

No ingested article mentions this CVE yet.