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

PackageVersions
Go · golang.org/x/cryptointroduced 0, fixed 0.52.0

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — Go Vulnerability Database