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


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

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-14059803
  • published20 Nov 2025
  • disclosed19 Nov 2025
  • creditJakub Ciolek

Introduced: 19 Nov 2025

NewCVE-2025-58181  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade golang.org/x/crypto/ssh to version 0.45.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 via the SSH servers. An attacker can exhaust system memory resources by sending GSSAPI authentication requests with an excessive number of mechanisms specified.

CVSS Base Scores

version 4.0
version 3.1