# CVE-2024-43410: Russh has an OOM Denial of Service due to allocation of untrusted amount

- Severity: High 7.5 (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:H`
- 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.91%, higher than 61% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-08-14T12:00:00.000Z
- Modified: 2026-11-12T08:10:40.454Z
- Also known as: GHSA-vgvv-x7xg-6cqg, RUSTSEC-2024-0450
- Weaknesses: CWE-770
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

Russh is a Rust SSH client & server library. Allocating an untrusted amount of memory allows any unauthenticated user to OOM a russh server. An SSH packet consists of a 4-byte big-endian length, followed by a byte stream of this length.
After parsing and potentially decrypting the 4-byte length, russh allocates enough memory for this bytestream, as a performance optimization to avoid reallocations later. But this length is entirely untrusted and can be set to any value by the client, causing this much memory to be allocated, which will cause the process to OOM within a few such requests. This vulnerability is fixed in 0.44.1.

(As written by CVE List.)

## Affected

- Eugeny russh: < 0.44.1
- russh_project russh: before 0.44.1
- russh (crates.io): before 0.44.1; from 0.0.0-0 before 0.44.1
- warpgate_project warpgate: before 0.10.2

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- RustSec Advisory Database: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/Eugeny/russh/security/advisories/GHSA-vgvv-x7xg-6cqg> (exploit, vendor-advisory, web)
- <https://github.com/Eugeny/russh/commit/f660ea3f64b86d11d19e33076012069f02431e55> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-43410> (advisory)
- <https://github.com/Eugeny/russh> (package)
- <https://crates.io/crates/russh> (package)
- <https://rustsec.org/advisories/RUSTSEC-2024-0450.html> (advisory)

## Sources

- CVE List: [CVE-2024-43410](https://www.cve.org/CVERecord?id=CVE-2024-43410), CVE Terms of Use, modified 2024-08-21
- GitHub Advisory Database: [GHSA-vgvv-x7xg-6cqg](https://github.com/advisories/GHSA-vgvv-x7xg-6cqg), CC-BY-4.0, modified 2026-11-12
- RustSec Advisory Database: [RUSTSEC-2024-0450](https://rustsec.org/advisories/RUSTSEC-2024-0450.html), CC0-1.0, modified 2026-11-12
- NVD: [CVE-2024-43410](https://nvd.nist.gov/vuln/detail/CVE-2024-43410), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-43410 · Whole record: https://cve.day/CVE-2024-43410.json · Rebuilt by cve.day 2026-11-25T22:58:44.630Z
