Improper Check for Unusual or Exceptional Conditions Affecting russh package, versions <0.62.4


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 IDSNYK-RUST-RUSSH-18307420
  • published25 Jul 2026
  • disclosed24 Jul 2026
  • creditUnknown

Introduced: 24 Jul 2026

New CVE NOT AVAILABLE CWE-754  (opens in a new tab)

How to fix?

Upgrade russh to version 0.62.4 or higher.

Overview

Affected versions of this package are vulnerable to Improper Check for Unusual or Exceptional Conditions in the server_dh process when handling a peer public value consisting of all-zero bytes. An attacker can cause the server to panic and terminate the connection handler by sending a specially crafted SSH key exchange message with an all-zero Curve25519 public value before authentication. This is only exploitable if the server is running with the default configuration and no caller-supplied parameters are set.

CVSS Base Scores

version 4.0
version 3.1