Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Russh Project | Russh | < 0.54.1 |
| Warpgate Project | Warpgate | < 0.16.0 |
Related Weaknesses (CWE)
References
- https://github.com/Eugeny/russh/commit/0eb5e406780890e21ff71dd25d731b30676478e5Patch
- https://github.com/Eugeny/russh/security/advisories/GHSA-h5rc-j5f5-3gcmExploitVendor Advisory
- https://github.com/Eugeny/russh/security/advisories/GHSA-h5rc-j5f5-3gcmExploitVendor Advisory
FAQ
What is CVE-2025-54804?
CVE-2025-54804 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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...
How severe is CVE-2025-54804?
CVE-2025-54804 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-54804?
Check the references section above for vendor advisories and patch information. Affected products include: Russh Project Russh, Warpgate Project Warpgate.