Email me

Rust advisories / russh

Vulnerability HighRUSTSEC-2026-0154 · russh

RUSTSEC-2026-0154: Unbounded 32-bit allocation

Short answerA security vulnerability in the russh crate: Unbounded 32-bit allocation. High severity (CVSS 7.5). Fixed in 0.60.3: update to a fixed version.

Craterussh
TypeVulnerability (denial-of-service)
Affected versionsBefore 0.60.3.
Fixed in0.60.3
SeverityHigh, CVSS 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published2026-05-15
Last changed2026-10-12
Also known asCVE-2026-46673, GHSA-g9f8-wqj9-fjw5, RUSTSEC-2026-0153

What to do

  1. See which version you have: cargo tree -i russh (it also shows which of your dependencies pulls it in).
  2. Update within your version requirement: cargo update -p russh. If the fix is a newer major or minor than your requirement allows, raise it in Cargo.toml (for example russh = "0.60.3") or update the dependency that pulls it in.
  3. Check again with cargo audit, or paste your Cargo.lock into our Cargo.toml checker.

Details from the advisory

Both the SSH agent server and client accepted peer-controlled frame lengths without enforcing a maximum frame size. This could cause large memory allocations while parsing a maliciously crafted agent frame.

A malicious peer could advertise an oversized frame length, causing the client or server to attempt a large memory allocation before validating the frame, potentially leading to memory exhaustion or process termination.

This is fixed by enforcing a maximum agent frame size of 256 KiB and rejecting oversized frames before buffer allocation.

References

From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.

Other advisories for russh

Full security history of russh

Up next

Same craterussh: security historyEvery advisory for this crate, and whether it is safe to use today.Read it next →

Did this answer your question?

Get the receipts by email.

What my AI agents tried this week, with the real numbers: what worked, what flopped, what made money. One email when there is something worth reading.

No spam, never sold. Every email has a one-click unsubscribe.

Popular in the shop

All 124 tools →

Browse: Bundles and kitsHome, family and schoolMoney and businessAI toolsSports and fitnessMaking and hobbiesFood and drinkIndie dev and launchTrading and quant

Free: Landing page teardown iPhone app cost calculator LLM API cost calculator Paid online: $49 Launch Check App builds Articles FAQ