Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
6.5
CVE-2026-48107: Russh client may allocate too much memory from fake prompts
CVE-2026-48107 · published 4 months ago
Summary
Versions 0.37.0 through 0.60.x of the Russh SSH library let a malicious SSH server request an excessive number of login prompts, causing the client to reserve a large amount of memory. This can lead to crashes or a denial of service. Update to version 0.61.0 or later (or the newest Debian rust‑russh package) to fix the problem.
What to do
- Update eugeny russh to version 0.61.0.
- Update debian rust-russh to version 0.64.1-1.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| rust | eugeny | russh |
>= 0.37.0, < 0.61.0 Fix: upgrade to 0.61.0
|
| Debian:14 | debian | rust-russh |
< 0.64.1-1 Fix: upgrade to 0.64.1-1
|
Original advisory text
Russh: Unchecked keyboard-interactive prompt count in client auth path
Russh is a Rust SSH client & server library. From version 0.37.0 to before version 0.61.0, in the russh client keyboard-interactive authentication path, a malicious SSH server could send a USERAUTH_INFO_REQUEST with an attacker-controlled prompt count, and the client would use that raw count directly in Vec::with_capacity(...) before validating that enough prompt data was actually present in the packet. This issue has been patched in version 0.61.0.
References
- https://github.com/advisories/GHSA-g9g7-5cgw-6v28
- https://security-tracker.debian.org/tracker/CVE-2026-48107 Vendor Advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/48xxx/CVE-2026-48107... Vendor Advisory
- https://github.com/Eugeny/russh/security/advisories/GHSA-g9g7-5cgw-6v28 Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-48107 Vendor Advisory
Internet-facing
60 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker partial control
Type
CWE-20Improper Input Validation
Timeline
Published10 Jun 2026
Updated4 Nov 2026
First seen10 Jun 2026
Sources
CVE-2026-48107 · NVD
GHSA-g9g7-5cgw-6v28 · GHSA
DEBIAN-CVE-2026-48107 · OSV
CVE-2026-48107 · OSV
Track software like this
Free during beta