Skip to content
OpenAdvisories
Medium · 6.5 CVE-2025-54804 EUVD-2025-23576GHSA-h5rc-j5f5-3gcm

Russh is missing an overflow check during channel windows adjust

Published Aug 5, 2025 · Updated Aug 5, 2025 · Assigned by GitHub_M

Description

Russh is a Rust SSH client & server library. In versions 0.54.0 and below, the channel window adjust message of the SSH protocol is used to track the free space in the receive buffer of the other side of a channel. The current implementation takes the value from the message and adds it to an internal state value. This can result in a integer overflow. If the Rust code is compiled with overflow checks, it will panic. A malicious client can crash a server. This is fixed in version 0.54.1.

Affected products

VendorProductAffectedFixed
Eugeny russh < 0.54.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io russh < 0.54.1 0.54.1 GHSA-h5rc-j5f5-3gcm

References