Skip to main content
VulnerabilityPublished

CVE-2026-56855: golang.org/x/crypto/ssh · Unthrottled Resource Allocation

Affects golang.org/x/crypto/sshSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 7.5 High : upgrade to 0.56.0 soon.

Data as of 29 Nov 2026, 18:37 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 35% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 0.56.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 2 Sep 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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 1 Dec 2026.

What to do

Upgrade golang.org/x/crypto/ssh and golang.org/x/crypto to 0.56.0.

Affected software

ProductAffectedFixed in
golang.org/x/cryptogolang.org/x/crypto/sshAffected
  • <0.56.0
Fixed in
  • 0.56.0
Gogolang.org/x/crypto/sshpkg:golang/golang.org/x/crypto/sshOther threatsAffected
  • <0.56.0
Fixed in
  • 0.56.0
Gogolang.org/x/cryptopkg:golang/golang.org/x/cryptoOther threatsAffected
  • <0.56.0
Fixed in
  • 0.56.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available that explicitly handles all RFC 4254 channel messages and tears down connections on unexpected messages. Users should upgrade to golang.org/x/crypto/ssh version 0.56.0 or later to remediate this issue. Patch status is confirmed by the affectedVersions data indicating versions before 0.56.0 are vulnerable.

Description

CVE-2026-56855 is a high-severity vulnerability in the golang.org/x/crypto/ssh package that allows a malicious peer to cause a deadlock in an SSH connection by sending crafted messages after the SSH channel is established. The issue arises because the package buffers unexpected messages instead of treating them as protocol errors, leading to blocking behavior. The vulnerability is addressed by explicitly handling all RFC 4254 channel messages and terminating connections upon receiving unexpected messages.

References

Community reviews

Loading reviews…