Moderate severityNVD Advisory· Published Aug 5, 2025· Updated Aug 5, 2025
Russh is missing an overflow check during channel windows adjust
CVE-2025-54804
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
russhcrates.io | < 0.54.1 | 0.54.1 |
Affected products
2Patches
Vulnerability mechanics
References
4- github.com/advisories/GHSA-h5rc-j5f5-3gcmghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-54804ghsaADVISORY
- github.com/Eugeny/russh/commit/0eb5e406780890e21ff71dd25d731b30676478e5ghsax_refsource_MISCWEB
- github.com/Eugeny/russh/security/advisories/GHSA-h5rc-j5f5-3gcmghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.