Allocation of Resources Without Limits or Throttling Affecting golang.org/x/crypto/ssh package, versions <0.56.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.5% (41st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GOLANGORGXCRYPTOSSH-19504090
  • published3 Sept 2026
  • disclosed2 Sept 2026
  • creditWill Mortensen

Introduced: 2 Sep 2026

NewCVE-2026-56855  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade golang.org/x/crypto/ssh to version 0.56.0 or higher.

Overview

golang.org/x/crypto/ssh is a SSH client and server

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling in its connection multiplexing, reached through Dial, NewClientConn, NewControlClientConn, and NewServerConn, which buffers unhandled messages that fall outside the RFC 4254 channel and global-request handling instead of treating them as protocol errors. A malicious peer can deadlock the entire SSH connection by sending unexpected messages once a channel has been established. This requires a completed handshake and an open SSH channel with the attacker as the peer.

CVSS Base Scores

version 4.0
version 3.1