{"id":"CVE-2026-73429","published":"2026-08-12T20:53:19Z","modified":"2026-08-14T22:15:45Z","title":"Russh: client wrong-length X25519 `clone_from_slice` panic (pre-auth DoS)","vendor":"Eugeny","product":"russh","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00507,"percentile":0.36407,"provenance":"source"},"cwes":[{"id":"CWE-704","name":"Incorrect Type Conversion or Cast"},{"id":"CWE-754","name":"Improper Check for Unusual or Exceptional Conditions"}],"references":[{"url":"https://github.com/Eugeny/russh/security/advisories/GHSA-g9hv-x236-4qp3","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Eugeny/russh/commit/a7fc1eb5717264e31c3c5f7dd849b73989a08f3d","tags":["x_refsource_MISC"]},{"url":"https://github.com/Eugeny/russh/releases/tag/v0.62.4","tags":["x_refsource_MISC"]}],"priority":{"score":11.0,"factors":[{"name":"EPSS percentile","points":7.28},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"eugeny","affectedVersions":[{"vendor":"Eugeny","product":"russh","versions":["< 0.62.4"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-08-14T22:15:11.220092Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"russh","vulnerableRanges":["<0.62.4"],"patched":["0.62.4"],"from":["GHSA-g9hv-x236-4qp3"],"provenance":"source"}],"summary":{"text":"The russh library's client-side Curve25519 key exchange (in russh/src/kex/curve25519.rs, function compute_shared_secret) fails to validate the length of the server's ephemeral value, so a malformed KEX_ECDH_REPLY from a malicious SSH server causes a deterministic panic in the client session. An attacker who can act as or reach an SSH server that a russh client connects to can crash that client session with no authentication or user interaction, before the server host key is verified; the embedding process normally keeps running, as the panic only terminates the spawned session task.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:51:47Z"},"euvd":{"id":"EUVD-2026-57624","exploited":false,"provenance":"source"}}