VDB
KO

GO-2026-5017

Invoking client can cause server deadlock on unexpected responses in golang.org/x/crypto/ssh

Details

A malicious SSH peer could send unsolicited global request responses to fill an internal buffer, blocking the connection's read loop. The blocked goroutine could not be released by calling Close(), resulting in a resource leak per connection. Unsolicited global responses are now discarded.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go / golang.org/x/crypto
Introduced in: 0 Fixed in: 0.52.0
Fix go get golang.org/x/crypto@v0.52.0

References