GO-2026-5017
Invoking client can cause server deadlock on unexpected responses in golang.org/x/crypto/ssh
At a glance
- Published
- Updated
- CVE
- CVE-2026-39830
- Aliases
- GHSA-vgwf-h737-ff37
Description
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.
Affected packages
| Package | Versions |
|---|---|
| Go · golang.org/x/crypto | introduced 0, fixed 0.52.0 |
References
- https://go.dev/issue/79564 REPORT
- https://groups.google.com/g/golang-announce/c/a082jnz-LvI WEB
- https://go.dev/cl/781640 FIX
- https://go.dev/cl/781664 FIX
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — Go Vulnerability Database |