Skip to content
OpenAdvisories
High · 7.5 CVE-2026-46702 EUVD-2026-36125GHSA-wwx6-x28x-8259RUSTSEC-2026-0493

Russh: Post-decompression SSH packet size was not bounded, allowing remote oversized compressed packets

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.1, when SSH compression is enabled, russh accepted compressed packets whose on-wire size passed the normal transport packet-length checks but whose decompressed size was much larger. This allowed a remote peer to send oversized post-decompression packets that should have been rejected. In current releases, this is a remote denial-of-service / resource-exhaustion issue in the post-decompression receive path. In older releases before 0.58.0, the same remote decompression path used CryptoVec, which appears to make the historical impact worse. This issue has been patched in version 0.61.1.

Affected products

VendorProductAffectedFixed
Eugeny russh >= 0.34.0, < 0.61.1 —

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 —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling yazi 26.5.6-r2 —

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io russh >= 0.34.0, < 0.61.1 0.61.1 RUSTSEC-2026-0493

References