# CVE-2025-54804: Russh is missing an overflow check during channel windows adjust

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-08-05 · Modified: 2025-08-05
- Aliases: GHSA-h5rc-j5f5-3gcm
- Record: https://cvemate.com/vulnerability/CVE-2025-54804 · JSON: https://cvemate.com/vulnerability/CVE-2025-54804/json

## Description

```text
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.
```

## Signals

- CVSS: 6.5 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.45%, percentile 40.828%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- Crates.Io russh (Crates.Io): \< 0.54.1
- eugeny russh: \< 0.54.1
- russh\_project russh: \< 0.54.1
- warpgate\_project warpgate: \< 0.16.0

## References

- <https://github.com/Eugeny/russh/security/advisories/GHSA-h5rc-j5f5-3gcm>
- <https://github.com/Eugeny/russh/commit/0eb5e406780890e21ff71dd25d731b30676478e5>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-54804>
- <https://github.com/Eugeny/russh>

---

Data as of 2026-12-05T13:50:45.045Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
