p PatchFirst

CVE-2026-73489

CVE-2026-73489 · Russh: Post-auth remote panic via pty-req with more than 130 terminal-mode records

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

Russh is a Rust SSH client & server library. Prior to 0.62.4, an authenticated SSH client can cause a denial of service by sending a pty-req channel request with more than 130 terminal-mode records. The parser in russh/src/server/encrypted.rs stores terminal modes in a fixed 130-entry [(Pty::TTY_OP_END, 0); 130] array but continues increasing the mode count, then constructs an out-of-bounds slice and panics before the application pty_request handler runs. The panic terminates the server session task without causing memory corruption. This issue is fixed in version 0.62.4.

CVSS 4.3 · Medium · EPSS 0.5% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • russh

    Versions
    • < 0.62.4: 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 →