# CVE-2026-73429: Russh: client wrong-length X25519 `clone_from_slice` panic (pre-auth DoS)

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 31% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-24T16:47:16.000Z
- Modified: 2026-10-24T15:10:00.190Z
- Also known as: GHSA-g9hv-x236-4qp3
- Weaknesses: CWE-704, CWE-754
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- Eugeny russh: < 0.62.4
- russh (crates.io): before 0.62.4

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`

## References

- <https://github.com/Eugeny/russh/security/advisories/GHSA-g9hv-x236-4qp3> (exploit, web)
- <https://github.com/Eugeny/russh/commit/a7fc1eb5717264e31c3c5f7dd849b73989a08f3d> (web)
- <https://github.com/Eugeny/russh/releases/tag/v0.62.4> (web)
- <https://github.com/Eugeny/russh> (package)

## Sources

- CVE List: [CVE-2026-73429](https://www.cve.org/CVERecord?id=CVE-2026-73429), CVE Terms of Use, modified 2026-08-14
- GitHub Advisory Database: [GHSA-g9hv-x236-4qp3](https://github.com/advisories/GHSA-g9hv-x236-4qp3), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-73429](https://nvd.nist.gov/vuln/detail/CVE-2026-73429), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-73429 · Whole record: https://cve.day/CVE-2026-73429.json · Rebuilt by cve.day 2026-11-25T22:59:32.661Z
