7.5High

CVE-2026-78662Prevent DoS on deadlocked undecided channel in golang.org/x/crypto/ssh

golang.org/x/crypto golang.org/x/crypto/ssh Published: (2 months ago)

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.

Weakness (CWE): CWE-770

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
golang crypto < 0.56.0
golang.org/x/crypto golang.org/x/crypto/ssh < 0.56.0

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:golang:crypto:*:*:*:*:*:go:*:* < 0.56.0