6.5Medium
CVE-2026-39827Invoking memory leak when rejecting channels can lead to DoS in golang.org/x/crypto/ssh
Description
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.
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| golang | crypto | < 0.52.0 | |
| golang.org/x/crypto | golang.org/x/crypto/ssh | < 0.52.0 |
References and patches
- https://go.dev/issue/35127 Issue Tracking
- https://go.dev/cl/781320 Issue Tracking
- https://groups.google.com/g/golang-announce/c/a082jnz-LvI Mailing List
- https://pkg.go.dev/vuln/GO-2026-5016 Vendor Advisory
CPE matches (NVD) (1)
cpe:2.3:a:golang:crypto:*:*:*:*:*:go:*:*< 0.52.0