CVE-2025-54804
russh: Russh Integer Overflow Vulnerability
Overview
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.
Source: OX vulnerability database
Severity
6.5 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-190
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Cargo (Rust) | russh | <0.54.1 | 0.54.1 |
Open a package to see all its vulnerabilities.
Operating systems
No Linux distribution reports this ID.
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2025-54804
- github.com https://github.com/Eugeny/russh
- github.com https://github.com/Eugeny/russh/commit/0eb5e406780890e21ff71dd25d731b30676478e5
- github.com https://github.com/Eugeny/russh/security/advisories/GHSA-h5rc-j5f5-3gcm
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2025-54804
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2025-54804
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.