Skip to content

CVE-2026-48108 Russh: SSH identification parsing accepted non-canonical client banners and did not bound pre-banner input

MediumCVSS 5.3 EPSS 0.28%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial
Technology
Debian

Description

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
crates.io russh(crates.io) >= 0.34.0-beta.1, < 0.61.0 0.61.0 Fixed
debian/rust-russh(Debian 14) < 0.64.1-1; = 0.57.1-1; = 0.57.1-2 0.64.1-1 Fixed
Eugeny russh = >= 0.34.0-beta.1, < 0.61.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
Eugeny russh = >= 0.34.0-beta.1, < 0.61.0 No fix listed
debian/rust-russh(Debian:14) < 0.64.1-1 0.64.1-1
crates.io russh(crates.io) >= 0.34.0-beta.1, < 0.61.0 0.61.0
debian/rust-russh(Debian:14) = 0.57.1-1 No fix listed
debian/rust-russh(Debian:14) = 0.57.1-2 No fix listed

References