Home

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.

PUBLISHED Reserved 2025-07-29 | Published 2025-08-05 | Updated 2025-08-05 | Assigner GitHub_M




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

Problem types

CWE-190: Integer Overflow or Wraparound

Product status

< 0.54.1
affected

References

github.com/.../russh/security/advisories/GHSA-h5rc-j5f5-3gcm exploit

github.com/.../russh/security/advisories/GHSA-h5rc-j5f5-3gcm

github.com/...ommit/0eb5e406780890e21ff71dd25d731b30676478e5

cve.org (CVE-2025-54804)

nvd.nist.gov (CVE-2025-54804)

Download JSON