Skip to content
OpenAdvisories
Medium · 4.3 CVE-2026-73489 EUVD-2026-58524GHSA-cqjc-rmpq-xprq

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

Published Aug 13, 2026 · Updated Aug 17, 2026 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
Eugeny russh < 0.62.4 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 rust-russh 0.64.1-1 —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling yazi 26.5.6-r7 —

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io russh < 0.62.4 0.62.4 GHSA-cqjc-rmpq-xprq

References