CVE-2026-48107 PUBLISHED

Russh: Unchecked keyboard-interactive prompt count in client auth path

Assigner: GitHub_M
Reserved: 20.05.2026 Published: 10.06.2026 Updated: 11.06.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS Score: 6.5

Product Status

Vendor Eugeny
Product russh
Versions
  • Version >= 0.37.0, < 0.61.0 is affected

References

Problem Types

  • CWE-20: Improper Input Validation CWE