Skip to content

CVE-2026-73430 Russh: Pre-auth remote panic via all-zero Curve25519 peer public value (encode_mpint OOB)

MediumCVSS 5.3 EPSS 0.60%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
UbuntuDebian

Description

Russh is a Rust SSH client & server library. Prior to 0.62.4, an unauthenticated SSH client can cause a denial of service by sending SSH_MSG_KEX_ECDH_INIT with a 32-byte all-zero Q_C value. Curve25519Kex::server_dh in russh/src/kex/curve25519.rs accepts the all-zero peer public value and computes an all-zero shared secret, after which compute_exchange_hash calls encode_mpint in russh/src/kex/mod.rs and indexes beyond the end of the input while skipping leading zero bytes. The resulting panic occurs before authentication and terminates the server key-exchange task. 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