CVE-2026-73489 Russh: Post-auth remote panic via pty-req with more than 130 terminal-mode records
MediumCVSS 4.3
EPSS 0.45%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- Debian
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io russh(crates.io) | < 0.62.4; <= 0.62.3 | 0.62.4 | Fixed |
| debian/rust-russh(Debian 14) | < 0.64.1-1; = 0.57.1-1; = 0.57.1-2 | 0.64.1-1 | Fixed |
| Eugeny russh | = < 0.62.4 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io russh(crates.io) | < 0.62.4 | 0.62.4 |
| Eugeny russh | = < 0.62.4 | No fix listed |
| crates.io russh(crates.io) | <= 0.62.3 | No fix listed |
| debian/rust-russh(Debian:14) | < 0.64.1-1 | 0.64.1-1 |
| debian/rust-russh(Debian:14) | = 0.57.1-1 | No fix listed |
| debian/rust-russh(Debian:14) | = 0.57.1-2 | No fix listed |
References
- https://github.com/Eugeny/russh/security/advisories/GHSA-cqjc-rmpq-xprq exploit vendor-advisory
- https://github.com/Eugeny/russh/commit/8912512371820167a12a0a638bd666856ce458ad patch
- github.com product
- https://github.com/Eugeny/russh/releases/tag/v0.62.4
- github.com
- Debian Security Tracker CVE-2026-73489 vendor-advisory
- bugs.debian.org issue-tracking
- ENISA EUVD EUVD-2026-58524 third-party-advisory