Skip to content

CVE-2026-102821 Russh: Unbounded memory exhaustion via CHANNEL_OPEN flood during a client-stalled rekey

MediumCVSS 6.5 EPSS 0.36%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial
Technology
UbuntuDebianRed Hat

Description

Russh is a Rust SSH client and server library. Prior to 0.63.2, an authenticated remote peer can send SSH_MSG_KEXINIT without the required SSH_MSG_KEX_ECDH_INIT and then flood SSH_MSG_CHANNEL_OPEN messages while SessionKexState::InProgress prevents priority_receiver in russh/src/server/session.rs from being drained. The server continues processing network input and enqueues a ChannelOpenReply for each request on an unbounded channel, allowing one connection to grow memory until the process is terminated. This issue is fixed in version 0.63.2.

Upgrade path

5 packages: 3 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/rust-russh(Ubuntu 26.10) All versions No fix listed No fix yet
crates.io russh(crates.io) < 0.63.2; <= 0.63.1 0.63.2 Fixed
debian/rust-russh(Debian 14) < 0.64.1-1; = 0.57.1-1; = 0.57.1-2 0.64.1-1 Fixed
redhat/openshell-main(Red Hat hummingbird 1) < 0.1.2-0.2.hum1 0.1.2-0.2.hum1 Fixed
Eugeny russh = < 0.63.2 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
Eugeny russh = < 0.63.2 No fix listed
crates.io russh(crates.io) < 0.63.2 0.63.2
redhat/openshell-main(Red Hat:hummingbird:1) < 0.1.2-0.2.hum1 0.1.2-0.2.hum1
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
crates.io russh(crates.io) <= 0.63.1 No fix listed
ubuntu/rust-russh(Ubuntu:26.10) All versions No fix listed

References