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 VendorProductAffected 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.
Fix within
Internet-facing 60 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit
  • Gives an attacker partial control
Severity
6.5 Medium
Exploitation
<1% chance of attack within 30 days
Type
CWE-20Improper Input Validation
Timeline
Published10 Jun 2026
Updated4 Nov 2026
First seen10 Jun 2026
Track software like this
Free during beta