Improper Input Validation 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.47% (39th 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-17311241
  • published12 Jun 2026
  • disclosed10 Jun 2026

Introduced: 10 Jun 2026

CVE-2026-48108  (opens in a new tab)
CWE-20  (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. From version 0.34.0-beta.1 to before version 0.61.0, russh did not enforce the SSH identification-string rules as deliberately as OpenSSH. In particular, the server-side identification reader used the same permissive path as the client, allowing pre-banner lines from clients, and the reader did not enforce a bounded number of pre-banner lines. For a library server built on russh, this could allow a remote peer to hold connection setup resources in the cleartext pre-authentication phase with malformed identification input that should have been rejected early. This issue has been patched in version 0.61.0.