CVE-2026-48108

Russh: SSH identification parsing accepted non-canonical client banners and did not bound pre-banner input

State
Published
Severity
5.3 Medium
Published
Jun 10, 2026
Updated
Jun 11, 2026
Reserved
May 20, 2026

Read the record on cve.org

Description

Russh is a Rust SSH client & server library. From version 0.34.0-beta.1 to before version 0.61.0, russh did not enforce the SSH identification-string rules as deliberately as OpenSSH. In particular, the server-side identification reader used the same permissive path as the client, allowing pre-banner lines from clients, and the reader did not enforce a bounded number of pre-banner lines. For a library server built on russh, this could allow a remote peer to hold connection setup resources in the cleartext pre-authentication phase with malformed identification input that should have been rejected early. This issue has been patched in version 0.61.0.

Scores

CVSSScoreVectorSource
3.15.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LGitHub_M

Weaknesses

  • CWE-20 Improper Input Validation

Affected Products

ProductVersions
russhEugeny
  • >= 0.34.0-beta.1, < 0.61.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.