CVE-2025-54804

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-54804
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-54804.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-54804
Aliases
Related
Published
2025-08-05T01:15:42Z
Modified
2025-08-13T20:50:33.770793Z
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/eugeny/russh

Affected ranges

Type
GIT
Repo
https://github.com/eugeny/russh
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

0.*

0.37.0-beta.1

v0.*

v0.34.0
v0.35.0-beta.1
v0.35.0-beta.2
v0.35.0-beta.3
v0.35.0-beta.5
v0.35.0-beta.6
v0.35.0-beta.7
v0.35.0-beta.8
v0.35.0-beta.9
v0.36.0
v0.36.1
v0.37.0
v0.37.0-beta.1
v0.37.1
v0.38.0
v0.38.0-beta.1
v0.39.0
v0.39.0-beta.1
v0.40.0
v0.40.1
v0.40.2
v0.42.0
v0.43.0
v0.43.0-beta.1
v0.44.0
v0.44.0-beta.1
v0.44.0-beta.3
v0.44.0-beta.4
v0.44.1
v0.45.0
v0.46.0
v0.47.0-beta.3
v0.47.0-beta.4
v0.48.0
v0.48.1
v0.48.2
v0.49.0
v0.50.0
v0.50.0-beta.10
v0.50.0-beta.11
v0.50.0-beta.12
v0.50.0-beta.2
v0.50.0-beta.3
v0.50.0-beta.4
v0.50.0-beta.5
v0.50.0-beta.6
v0.50.0-beta.7
v0.50.0-beta.8
v0.50.0-beta.9
v0.50.1
v0.50.3
v0.50.4
v0.51.0
v0.51.0-beta.1
v0.51.0-beta.2
v0.51.0-beta.3
v0.51.1
v0.52.0
v0.52.0-beta.1
v0.52.1
v0.53.0
v0.53.0-beta.1
v0.54.0