CVE-2026-48108

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

Published Jun 10, 2026 CVSS 3.1 · 5.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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

Source ID Title
Github GHSA Github GHSA GHSA-76r6-x97p-67vr Russh: SSH identification parsing accepted non-canonical client banners and did not bound pre-banner input
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Eugeny
Eugeny russh
Vendors & Products Eugeny
Eugeny russh
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'}

Weaknesses
  • CWE-20

    Improper Input Validation

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jun 11, 2026, 1:50 PM
Reserved
May 20, 2026, 6:46 PM
Status
Deferred
Published
Jun 10, 2026, 10:17 PM
Modified
Jul 23, 2026, 9:10 AM