Skip to content

CVE-2026-73429 Russh: client wrong-length X25519 `clone_from_slice` panic (pre-auth DoS)

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

Description

Russh is a Rust SSH client & server library. Prior to 0.62.4, a malicious SSH server can crash a russh client session with a malformed KEX_ECDH_REPLY containing a server ephemeral value that is not 32 bytes long. The client-side Curve25519Kex::compute_shared_secret function in russh/src/kex/curve25519.rs passes the decoded exchange.server_ephemeral value to clone_from_slice without validating its length, causing a deterministic panic before the server host key is verified. The panic terminates the spawned client session task and surfaces as a JoinError, while the embedding process normally remains running. This issue is fixed in version 0.62.4.

Upgrade path

4 packages: 2 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/rust-russh(Ubuntu 26.10) All versions No fix listed No fix yet
crates.io russh(crates.io) < 0.62.4; <= 0.62.3 0.62.4 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.62.4 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
crates.io russh(crates.io) < 0.62.4 0.62.4
Eugeny russh = < 0.62.4 No fix listed
crates.io russh(crates.io) <= 0.62.3 No fix listed
debian/rust-russh(Debian:14) < 0.64.1-1 0.64.1-1
debian/rust-russh(Debian:14) = 0.57.1-1 No fix listed
debian/rust-russh(Debian:14) = 0.57.1-2 No fix listed
ubuntu/rust-russh(Ubuntu:26.10) All versions No fix listed

References