Skip to content

CVE-2026-46673 Russh: Unchecked CryptoVec allocation and growth handling is reachable from local agent inputs in current russh releases and from remote SSH traffic in historical pre-0.58.0 releases

HighCVSS 7.5 EPSS 0.46%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial
Technology
Debian

Description

Russh is a Rust SSH client & server library. Prior to version 0.60.3, CryptoVec used unchecked capacity growth, unchecked length arithmetic, and unsafe allocation/locking paths. In current russh releases, local SSH agent peers could still feed attacker-controlled frame lengths into buffer growth before validation. In older russh releases before 0.58.0, remote SSH traffic also reached CryptoVec through transport and compression buffers. This issue has been patched in version 0.60.3.

Upgrade path

5 packages: 4 fixed.

PackageAffectedFixed inStatus
crates.io russh(crates.io) < 0.60.3; <= 0.60.2; >= 0.0.0-0, < 0.60.3 0.60.3 Fixed
crates.io russh-cryptovec(crates.io) < 0.60.3; <= 0.60.2; >= 0.0.0-0, < 0.60.3 0.60.3 Fixed
debian/rust-russh(Debian 14) < 0.64.1-1; = 0.57.1-1; = 0.57.1-2 0.64.1-1 Fixed
debian/rust-russh-cryptovec(Debian 14) < 0.62.0-1; = 0.52.0-1; = 0.58.0-1; = 0.59.0-1 0.62.0-1 Fixed
Eugeny russh = < 0.60.3 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
crates.io russh-cryptovec(crates.io) < 0.60.3 0.60.3
crates.io russh(crates.io) < 0.60.3 0.60.3
crates.io russh-cryptovec(crates.io) >= 0.0.0-0, < 0.60.3 0.60.3
crates.io russh(crates.io) >= 0.0.0-0, < 0.60.3 0.60.3
Eugeny russh = < 0.60.3 No fix listed
crates.io russh-cryptovec(crates.io) <= 0.60.2 No fix listed
crates.io russh(crates.io) <= 0.60.2 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
debian/rust-russh-cryptovec(Debian:14) < 0.62.0-1 0.62.0-1
debian/rust-russh-cryptovec(Debian:14) = 0.52.0-1 No fix listed
debian/rust-russh-cryptovec(Debian:14) = 0.58.0-1 No fix listed
debian/rust-russh-cryptovec(Debian:14) = 0.59.0-1 No fix listed

References