High, CVSS 7.5crates.ioPublished
Russh: Unchecked CryptoVec allocation and growth handling is reachable
CVE-2026-46673 · GHSA-g9f8-wqj9-fjw5
- Affected
- crates.io russh-cryptovec <= 0.60.2
- Fixed in
- 0.60.3· Vendor fix available
- Issue
- Title Unchecked CryptoVec allocation and growth handling was reachable from local agent inputs in current russh releases and from remote SSH traffic in historical pre-0.58.0 releases Summary 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. Details The underlying unsafe paths were in CryptoVec: - cryptovec/src/cryptovec.rs - unchecked capacity growth - unchecked length arithmetic in growth callers - raw allocation and reallocation paths coupled to those sizes - cryptovec/src/platform/unix.rs - mlock / munlock previously accepted zero-length calls and performed null-pointer validation inside the unsafe OS-call path There are two relevant reachability stories: 1. current…
Recommended action: Upgrade to 0.60.3 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.