CVE-2025-54804
MEDIUM 6.5CVSS 3.1russh is missing overflow checks during channel windows adjust
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.
- Published
- 5 Aug 2025
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-190
- Also known as
- GHSA-h5rc-j5f5-3gcm
- Sources
- NVDJSONOSV GHSA-h5rc-j5f5-3gcmJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | russh_project | russhcpe:2.3:a:russh_project:russh:*:*:*:*:*:rust:*:* |
< 0.54.1 | 0.54.1 |
| NVD | warpgate_project | warpgatecpe:2.3:a:warpgate_project:warpgate:*:*:*:*:*:*:*:* |
< 0.16.0 | 0.16.0 |
| OSV | crates.io | russh | < 0.54.1 | 0.54.1 |
References
- https://github.com/Eugeny/russh/commit/0eb5e406780890e21ff71dd25d731b30676478e5 · Patch, WEB
- https://github.com/Eugeny/russh/security/advisories/GHSA-h5rc-j5f5-3gcm · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-54804 · ADVISORY
- https://github.com/Eugeny/russh · PACKAGE
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 5 Aug 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 4 Aug 2025)