CVE-2026-39827: golang.org/x/crypto/ssh · Memory Leak
Affects golang.org/x/crypto/sshSource CVE Database V5
Not known to be exploited · CVSS 6.5 Medium : upgrade to 0.52.0 when convenient.
Data as of 21 Nov 2026, 17:35 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 20% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.52.0
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 22 May 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 21 Nov 2026.
What to do
Upgrade golang.org/x/crypto/ssh to 0.52.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| golang.org/x/cryptogolang.org/x/crypto/ssh | Affected
| Fixed in
|
Gogolang.org/x/crypto/sshpkg:golang/golang.org/x/crypto/sshOther threats | Affected
| Fixed in– |
Gogolang.org/x/crypto/sshpkg:golang/golang.org/x/crypto/sshOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
If you cannot patch yet, limit exposure by restricting authenticated client access or monitoring for abnormal channel open requests if possible.
Description
CVE-2026-39827 is a medium severity vulnerability in the golang.org/x/crypto/ssh package that causes a memory leak. When an authenticated SSH client repeatedly opens channels that the server rejects, the rejected channels are not properly removed from the server's internal state. This leads to unbounded memory growth, which can crash the server process and disrupt all connected users.