ADVISORIES

Go Vulnerability Database

GO-2026-6355

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

Details

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.

Affected packages

EcosystemPackageAffected versions
Gogolang.org/x/crypto
All versions before 0.56.0 (fixed in 0.56.0)

References