CVE-2025-54804Russh Project Russh
Medium 6.5
Follow: this CVE · Russh Project · Russh Project Russh We alert you by email or Slack (account required).
- Priority
- 39
- CVSS 3.1
- 6.5
- EPSS
- —
- Auth required
- Yes
- Published
- Aug 5, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-190
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Russh.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| crates.io | russh |
< 0.54.1 |
0.54.1 |
cargo update -p russh --precise 0.54.1 |
Per OSV / GitHub Advisories (GHSA-h5rc-j5f5-3gcm). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| russh_project | russh | < 0.54.1 |
| warpgate_project | warpgate | < 0.16.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Exploit Vendor Advisory