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

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 40% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-08-04T20:28:36.000Z
- Modified: 2026-09-10T03:50:27.096Z
- Also known as: GHSA-h5rc-j5f5-3gcm
- Weaknesses: CWE-190
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- Eugeny russh: < 0.54.1
- russh (crates.io): before 0.54.1
- russh_project russh: before 0.54.1
- warpgate_project warpgate: before 0.16.0

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/Eugeny/russh/security/advisories/GHSA-h5rc-j5f5-3gcm> (exploit, vendor-advisory, web)
- <https://github.com/Eugeny/russh/commit/0eb5e406780890e21ff71dd25d731b30676478e5> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-54804> (advisory)
- <https://github.com/Eugeny/russh> (package)

## Sources

- CVE List: [CVE-2025-54804](https://www.cve.org/CVERecord?id=CVE-2025-54804), CVE Terms of Use, modified 2025-08-05
- GitHub Advisory Database: [GHSA-h5rc-j5f5-3gcm](https://github.com/advisories/GHSA-h5rc-j5f5-3gcm), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-54804](https://nvd.nist.gov/vuln/detail/CVE-2025-54804), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-54804 · Whole record: https://cve.day/CVE-2025-54804.json · Rebuilt by cve.day 2026-11-25T22:59:02.043Z
