Advisory

GO-2026-5017

Also known as: CVE-2026-39830, GHSA-vgwf-h737-ff37

Summary

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

Details

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.

Severity

Not rated by the source.

Dates

Published
2026-05-22 02:08 UTC
Modified
2026-11-14 13:12 UTC

Affected packages and fixes

golang.org/x/crypto

Go · All systems

Affected

  • introduced 0, fixed 0.52.0 (semver)

Fixed versions

0.52.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences