ADVISORIES

Go Vulnerability Database

GO-2026-5016

Invoking memory leak when rejecting channels can lead to DoS in golang.org/x/crypto/ssh

Details

An authenticated SSH client that repeatedly opened channels which were rejected by the server caused unbounded memory growth, eventually crashing the server process and affecting all connected users. Rejected channels are now properly removed from the connection's internal state and released for garbage collection.

Affected packages

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

References