Skip to content
OpenAdvisories
High · 7.5 CVE-2026-48110 EUVD-2026-36131GHSA-4r3c-5hpg-58qrRUSTSEC-2026-0494

Russh: SSH message fields were decoded through allocation-first parsers before field-specific bounds

Published Jun 10, 2026 · Updated Jun 11, 2026 · Assigned by GitHub_M

Description

Russh is a Rust SSH client & server library. From version 0.34.0 to before version 0.61.0, several russh client and server message handlers decoded attacker-controlled SSH strings, name-lists, and byte fields into owned allocations before applying field-specific bounds. A remote SSH peer could send oversized, high-fanout, or malformed length-prefixed fields and make the library allocate, attempt to allocate, or split data before rejecting input that should have been rejected earlier. This issue has been patched in version 0.61.0.

Affected products

VendorProductAffectedFixed
Eugeny russh >= 0.34.0, < 0.61.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 rust-russh 0.64.1-1 —

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io russh >= 0.34.0, < 0.61.0 0.61.0 RUSTSEC-2026-0494

References