{"id":"GO-2026-5016","summary":"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.","aliases":["CVE-2026-39827"],"modified":"2026-05-22T02:30:20.558544639Z","published":"2026-05-22T02:08:34Z","database_specific":{"review_status":"REVIEWED","url":"https://pkg.go.dev/vuln/GO-2026-5016"},"references":[{"type":"REPORT","url":"https://go.dev/issue/35127"},{"type":"FIX","url":"https://go.dev/cl/781320"},{"type":"WEB","url":"https://groups.google.com/g/golang-announce/c/a082jnz-LvI"}],"affected":[{"package":{"name":"golang.org/x/crypto","ecosystem":"Go","purl":"pkg:golang/golang.org/x/crypto"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.52.0"}]}],"ecosystem_specific":{"imports":[{"path":"golang.org/x/crypto/ssh","symbols":["channel.Reject"]}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2026-5016.json"}}],"schema_version":"1.7.5","credits":[{"name":"Ziyan Zhou"}]}