p PatchFirst

CVE-2026-48107

CVE-2026-48107 · Russh: Unchecked keyboard-interactive prompt count in client auth path

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 6.5 · Medium · EPSS 0.2% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • russh

    Versions
    • >= 0.37.0, < 0.61.0: Affected

    No fix published

  • rust-russh Debian:14

    Versions
    • 0.57.1-1
    • 0.57.1-2
    Affected ranges
    • ECOSYSTEM: < 0.64.1-1

    Update to 0.64.1-1

Original sources

Check your server →