CVE-2025-54804 Russh is missing an overflow check during channel windows adjust
MediumCVSS 6.5
EPSS 0.45%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- Debian
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.
Upgrade path
4 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io russh(crates.io) | < 0.54.1 | 0.54.1 | Fixed |
| russh project russh | < 0.54.1 | 0.54.1 | Fixed |
| warpgate project warpgate | < 0.16.0 | 0.16.0 | Fixed |
| Eugeny russh | = < 0.54.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io russh(crates.io) | < 0.54.1 | 0.54.1 |
| Eugeny russh | = < 0.54.1 | No fix listed |
| russh project russh | < 0.54.1 | 0.54.1 |
| warpgate project warpgate | < 0.16.0 | 0.16.0 |
References
- https://github.com/Eugeny/russh/security/advisories/GHSA-h5rc-j5f5-3gcm exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/Eugeny/russh/commit/0eb5e406780890e21ff71dd25d731b30676478e5 patch
- github.com product
- github.com
- Debian Security Tracker CVE-2025-54804 vendor-advisory