Integer Overflow or Wraparound Affecting russh package, versions <0.54.1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (11th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RUST-RUSSH-11509802
  • published8 Aug 2025
  • disclosed4 Aug 2025
  • creditAndre Herms

Introduced: 4 Aug 2025

NewCVE-2025-54804  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade russh to version 0.54.1 or higher.

Overview

Affected versions of this package are vulnerable to Integer Overflow or Wraparound via the CHANNEL_WINDOW_ADJUST function. An attacker can cause a crash by sending a specially crafted message with a large value to trigger an integer overflow.

References

CVSS Base Scores

version 4.0
version 3.1