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.
Published: 2026-06-10
Score: 5.3 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Russh, a Rust SSH client and server library, allows a remote peer to send malformed SSH identification strings that include arbitrary pre‑banner lines. Because the library does not enforce the SSH protocol’s canonical identification‑string format and does not limit the number of pre‑banner lines, an attacker can flood the pre‑authentication phase with excessive or specially crafted data. This input validation weakness (CWE‑20) can consume server resources and prolong connection setup, effectively denying service to legitimate users.

Affected Systems

Eugeny’s russh library is affected. All releases from version 0.34.0-beta.1 up to, but not including, 0.61.0 are vulnerable. Any application that embeds russh as an SSH server should consider this range when assessing risk.

Risk and Exploitability

The CVSS score of 5.3 indicates a medium severity. The EPSS score is not disclosed, and the vulnerability is not listed in the CISA KEV catalog, implying no active exploitation at the time of publishing. The attack vector remains remote and requires only a standard SSH connection; an adversary could invoke the flaw by sending non‑canonical banners before the server responds. While no public exploit has been reported, the lack of early rejection could lead to resource exhaustion or keep the connection open in cleartext, making it a potential DoS vector.

Generated by OpenCVE AI on June 10, 2026 at 22:58 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade russh to version 0.61.0 or later, which contains the fix that enforces SSH identification‑string rules and limits pre‑banner lines.
  • Rebuild any applications that incorporate russh as an SSH server after confirming the version bump, and perform integration testing to ensure no regression of server functionality.
  • Monitor SSH server logs for unusually long or malformed identification strings to detect any attempts that may exploit older versions until the patch can be applied.

Generated by OpenCVE AI on June 10, 2026 at 22:58 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 10 Jun 2026 23:00:00 +0000

Type Values Removed Values Added
First Time appeared Eugeny
Eugeny russh
Vendors & Products Eugeny
Eugeny russh

Wed, 10 Jun 2026 21:00:00 +0000

Type Values Removed Values Added
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.
Title Russh: SSH identification parsing accepted non-canonical client banners and did not bound pre-banner input
Weaknesses CWE-20
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-06-10T20:24:56.666Z

Reserved: 2026-05-20T18:46:58.287Z

Link: CVE-2026-48108

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-06-10T22:17:01.130

Modified: 2026-06-10T22:17:01.130

Link: CVE-2026-48108

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-10T23:00:20Z

Weaknesses
  • CWE-20

    Improper Input Validation