CVE-2026-39827: medium-severity vulnerability in golang.org/x/crypto/ssh
Invoking memory leak when rejecting channels can lead to DoS in golang.org/x/crypto/ssh
Published
13Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 6.5epss 0.3%
exploitation probability
0.3%top 80% of all CVEs
observed exploitation
nono source reports it
An authenticated SSH client that repeatedly opened channels which were rejected by the server caused unbounded memory growth, eventually crashing the server process and affecting all connected users. Rejected channels are now properly removed from the connection's internal state and released for garbage collection.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected products
golang.org/x/crypto · golang.org/x/crypto/sshRelated CVEs — golang.org/x/crypto/ssh
In the same product, most dangerous first.
CVE-2024-45337CRITICALMisuse of connection.serverAuthenticate may cause authorization bypass in golang.org/x/cryptoEPSS 3.2%CVE-2025-22869HIGHPotential denial of service in golang.org/x/cryptoEPSS 0.9%CVE-2026-39830CRITICALInvoking client can cause server deadlock on unexpected responses in golang.org/x/crypto/sshEPSS 0.7%CVE-2026-39834CRITICALInvoking infinite loop on large channel writes in golang.org/x/crypto/sshEPSS 0.6%CVE-2025-58181MEDIUMUnbounded memory consumption in golang.org/x/crypto/sshEPSS 0.6%CVE-2026-46595CRITICALInvoking VerifiedPublicKeyCallback permissions skip enforcement in golang.org/x/crypto/sshEPSS 0.6%