Bug#1144400: rust-russh: CVE-2026-73489

Salvatore Bonaccorso <[email protected]>
Newsgroups gmane.linux.debian.devel.bugs.rc
Message-ID <178672161759.1210716.7713974119244437312.reportbug__3909.47227585769$1786721718$gmane$org@eldamar.lan>
Source: rust-russh
Version: 0.57.1-2
Severity: grave
Tags: security upstream
Justification: user security hole
X-Debbugs-Cc: [email protected], Debian Security Team <[email protected]>

Hi,

The following vulnerability was published for rust-russh.

CVE-2026-73489[0]:
| 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.


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-73489
    https://www.cve.org/CVERecord?id=CVE-2026-73489
[1] https://github.com/Eugeny/russh/security/advisories/GHSA-cqjc-rmpq-xprq
[2] https://github.com/Eugeny/russh/commit/8912512371820167a12a0a638bd666856ce458ad 

Regards,
Salvatore
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.