critical

CVE-2026-39830

Go · golang.org/x/crypto/ssh • Go · golang.org/x/crypto

Summary

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

Severity
critical
CVSS
9.1
EPSS
0.6% (p48)
CWE
CWE-119
Also known as
GHSA-vgwf-h737-ff37, GO-2026-5017
Published
2026-06-25
Updated
2026-06-25

Advisory 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.

References

Related advisories

Is your project exposed to this? Stateward checks every dependency on every pull request and flags it only if your code actually reaches it.

Check my repo

Summarize with AI

ChatGPTClaudePerplexity

Sources: CISA KEV (public domain), OSV.dev & GitHub Advisory Database (CC-BY-4.0), FIRST EPSS, NVD/CWE (public domain). Served live from the Stateward advisory database.