{"id":"CVE-2026-73429","summary":"Russh: client wrong-length X25519 `clone_from_slice` panic (pre-auth DoS)","details":"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.","aliases":["GHSA-g9hv-x236-4qp3"],"modified":"2026-08-16T03:31:15.410716690Z","published":"2026-08-12T20:53:19.558Z","related":["CGA-r9rw-vcvj-hwgm"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/73xxx/CVE-2026-73429.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-704","CWE-754"]},"references":[{"type":"WEB","url":"https://github.com/Eugeny/russh/releases/tag/v0.62.4"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/73xxx/CVE-2026-73429.json"},{"type":"ADVISORY","url":"https://github.com/Eugeny/russh/security/advisories/GHSA-g9hv-x236-4qp3"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-73429"},{"type":"FIX","url":"https://github.com/Eugeny/russh/commit/a7fc1eb5717264e31c3c5f7dd849b73989a08f3d"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/eugeny/russh","events":[{"introduced":"0"},{"fixed":"a7fc1eb5717264e31c3c5f7dd849b73989a08f3d"},{"fixed":"0089c89c94753bebbec12b956c07a1cd38740379"}],"database_specific":{"source":["AFFECTED_FIELD","REFERENCES"],"extracted_events":[{"introduced":"0"},{"fixed":"0.62.4"}]}}],"versions":["v0.62.3","v0.62.2","v0.62.1","v0.62.0","v0.61.2","v0.61.1","v0.61.0","v0.60.3","v0.60.2","v0.60.1","v0.60.0","v0.59.0","v0.58.0","v0.57.1","v0.57.0","v0.56.0","v0.55.0","v0.54.6","v0.54.5","v0.54.4","v0.54.3","v0.54.2","v0.54.1","v0.54.0","v0.53.0","v0.53.0-beta.1","v0.52.1","v0.52.0","v0.52.0-beta.1","v0.51.1","v0.51.0","v0.51.0-beta.3","v0.51.0-beta.2","v0.51.0-beta.1","v0.50.4","v0.50.3","v0.50.1","v0.50.0","v0.50.0-beta.12","v0.50.0-beta.11","v0.50.0-beta.10","v0.50.0-beta.9","v0.50.0-beta.8","v0.50.0-beta.7","v0.50.0-beta.6","v0.50.0-beta.5","v0.50.0-beta.4","v0.50.0-beta.3","v0.50.0-beta.2","v0.49.0","v0.48.2","v0.48.1","v0.48.0","v0.47.0-beta.4","v0.47.0-beta.3","v0.46.0","v0.45.0","v0.44.0","v0.44.0-beta.4","v0.44.0-beta.3","v0.44.0-beta.1","v0.43.0","v0.43.0-beta.1","v0.42.0","v0.40.2","v0.40.1","v0.40.0","v0.38.0","v0.39.0-beta.1","v0.38.0-beta.1","v0.37.1","v0.37.0","v0.36.1","v0.37.0-beta.1","0.37.0-beta.1","v0.35.0-beta.9","v0.35.0-beta.8","v0.35.0-beta.7","v0.35.0-beta.6","v0.35.0-beta.5","v0.35.0-beta.3","v0.35.0-beta.2","v0.35.0-beta.1","v0.34.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-73429.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}]}