Russh is missing an overflow check during channel windows adjust

CVE Details

Basic Information

Title Russh is missing an overflow check during channel windows adjust
Type cve
Published 2025-08-05T00:05:20.971Z
Modified 2025-08-05T00:05:20.971Z

Product Information

Vendor Eugeny
Product russh
Version < 0.54.1

CVSS Information

Base Score 6.5 (MEDIUM)
Attack Vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

AI Analysis

AI Description A vulnerability in Russh, a Rust SSH client and server library, allows a malicious client to cause a server crash due to an integer overflow in the channel window adjustment message. This issue is fixed in version 0.54.1.
AI Severity Medium
AI Vendor Eugeny
AI Product Russh
AI Version < 0.54.1

Affected Products

  • Eugeny russh < 0.54.1

Additional Information

CWE List CWE-190
Source 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 an 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.

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.