GHSA-vgwf-h737-ff37

golang.org/x/crypto: Invoking client can cause server deadlock on unexpected responses

At a glance

Published
Updated
CVE
CVE-2026-39830
Aliases
GO-2026-5017
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

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 — GitHub Advisory Database