CVE-2025-54804

Russh is missing an overflow check during channel windows adjust

Published Aug 5, 2025 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-23576 russh is missing overflow checks during channel windows adjust
Github GHSA Github GHSA GHSA-h5rc-j5f5-3gcm russh is missing overflow checks during channel windows adjust
History
Type Values Removed Values Added
First Time appeared Russh Project
Russh Project russh
Warpgate Project
Warpgate Project warpgate
CPEs cpe:2.3:a:russh_project:russh:*:*:*:*:*:rust:*:*
cpe:2.3:a:warpgate_project:warpgate:*:*:*:*:*:*:*:*
Vendors & Products Russh Project
Russh Project russh
Warpgate Project
Warpgate Project warpgate
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Eugeny
Eugeny russh
Rust-lang
Rust-lang russh
Vendors & Products Eugeny
Eugeny russh
Rust-lang
Rust-lang russh
Type Values Removed Values Added
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.
Title Russh is missing an overflow check during channel windows adjust
Weaknesses CWE-190
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 5, 2025, 2:44 PM
Reserved
Jul 29, 2025, 4:50 PM
Status
Analyzed
Published
Aug 5, 2025, 1:15 AM
Modified
Jun 17, 2026, 9:40 AM
Severity
Moderate
Public date
Aug 5, 2025, 12:05 AM