CVE-2026-73429 Russh: client wrong-length X25519 `clone_from_slice` panic (pre-auth DoS)
- 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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- https://github.com/Eugeny/russh/security/advisories/GHSA-g9hv-x236-4qp3 exploit vendor-advisory
- https://github.com/Eugeny/russh/commit/a7fc1eb5717264e31c3c5f7dd849b73989a08f3d patch
- github.com product
- https://github.com/Eugeny/russh/releases/tag/v0.62.4
- github.com
- Debian Security Tracker CVE-2026-73429 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking
- ENISA EUVD EUVD-2026-57624 third-party-advisory