Keyboard-Interactive Authentication Vulnerability in Russh Client by Eugeny
CVE-2026-48107
6.5MEDIUM
What is CVE-2026-48107?
The Russh client, a Rust-based SSH library, has a vulnerability in its keyboard-interactive authentication handling. Malicious SSH servers can exploit this flaw by sending a USERAUTH_INFO_REQUEST with a manipulated prompt count. This can lead to improper use of raw count values in the Vec::with_capacity function without adequate validation of the corresponding prompt data in the packet. The issue has been resolved in Russh version 0.61.0.
Affected Version(s)
russh >= 0.37.0, < 0.61.0
