{"id":"CVE-2026-73429","state":"PUBLISHED","title":"Russh: client wrong-length X25519 `clone_from_slice` panic (pre-auth DoS)","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.","publishedAt":"2026-08-12T20:53:19.558Z","updatedAt":"2026-08-14T22:15:45.159Z","severity":{"score":5.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","source":"GitHub_M"},"assigner":"GitHub_M","products":["Eugeny russh"],"affected":[{"vendor":"Eugeny","product":"russh","versions":[{"version":"< 0.62.4","status":"affected"}]}],"references":["https://github.com/Eugeny/russh/security/advisories/GHSA-g9hv-x236-4qp3","https://github.com/Eugeny/russh/commit/a7fc1eb5717264e31c3c5f7dd849b73989a08f3d","https://github.com/Eugeny/russh/releases/tag/v0.62.4"],"weaknesses":["CWE-704","CWE-754"],"ingestedAt":"2026-10-29T20:12:58.252Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/73xxx/CVE-2026-73429.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-73429","state":"PUBLISHED","datePublished":"2026-08-12T20:53:19.558Z","dateUpdated":"2026-08-14T22:15:45.159Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-08-12T14:32:11.796Z"},"containers":{"cna":{"title":"Russh: client wrong-length X25519 `clone_from_slice` panic (pre-auth DoS)","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Eugeny","product":"russh","versions":[{"version":"< 0.62.4","status":"affected"}]}],"references":[{"url":"https://github.com/Eugeny/russh/security/advisories/GHSA-g9hv-x236-4qp3","name":"https://github.com/Eugeny/russh/security/advisories/GHSA-g9hv-x236-4qp3","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Eugeny/russh/commit/a7fc1eb5717264e31c3c5f7dd849b73989a08f3d","name":"https://github.com/Eugeny/russh/commit/a7fc1eb5717264e31c3c5f7dd849b73989a08f3d","tags":["x_refsource_MISC"]},{"url":"https://github.com/Eugeny/russh/releases/tag/v0.62.4","name":"https://github.com/Eugeny/russh/releases/tag/v0.62.4","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-704","lang":"en","description":"CWE-704: Incorrect Type Conversion or Cast","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-754","lang":"en","description":"CWE-754: Improper Check for Unusual or Exceptional Conditions","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-08-12T20:53:19.558Z"},"source":{"advisory":"GHSA-g9hv-x236-4qp3","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/Eugeny/russh/security/advisories/GHSA-g9hv-x236-4qp3","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-14T22:15:11.220092Z","id":"CVE-2026-73429","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-14T22:15:45.159Z"}}]}}}