CVE-2025-54804 MEDIUM

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

Vendor Eugeny
Product russh
Weakness CWE-190
Published August 5, 2025
Last update August 5, 2025

CVSS base score

6.5/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality None
Integrity None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

August 5, 2025 CVE published
August 5, 2025 Record updated