Improper Validation of Array Index Affecting rust-russh package, versions <0.64.1-1


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.45% (37th 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 IDSNYK-DEBIAN14-RUSTRUSSH-20941724
  • published15 Oct 2026
  • disclosed13 Aug 2026

Introduced: 13 Aug 2026

CVE-2026-73489  (opens in a new tab)
CWE-129  (opens in a new tab)

How to fix?

Upgrade Debian:14 rust-russh to version 0.64.1-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rust-russh package and not the rust-russh package as distributed by Debian. See How to fix? for Debian:14 relevant fixed versions and status.

Russh is a Rust SSH client & server library. Prior to 0.62.4, an authenticated SSH client can cause a denial of service by sending a pty-req channel request with more than 130 terminal-mode records. The parser in russh/src/server/encrypted.rs stores terminal modes in a fixed 130-entry [(Pty::TTY_OP_END, 0); 130] array but continues increasing the mode count, then constructs an out-of-bounds slice and panics before the application pty_request handler runs. The panic terminates the server session task without causing memory corruption. This issue is fixed in version 0.62.4.