CVE-2026-48110

Russh: SSH message fields were decoded through allocation-first parsers before field-specific bounds

Published Jun 10, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
Russh is a Rust SSH client & server library. From version 0.34.0 to before version 0.61.0, several russh client and server message handlers decoded attacker-controlled SSH strings, name-lists, and byte fields into owned allocations before applying field-specific bounds. A remote SSH peer could send oversized, high-fanout, or malformed length-prefixed fields and make the library allocate, attempt to allocate, or split data before rejecting input that should have been rejected earlier. This issue has been patched in version 0.61.0.

Analysis

AI-generated

Technical impact

The vulnerability in the russh library arises from parsing attacker‑controlled SSH strings, name‑lists, and byte fields into owned buffers before enforcing field‑specific bounds. An adversary who can initiate a remote SSH session can send oversized, high‑fanout, or malformed length‑prefixed fields that cause the library to allocate large or split data buffers. This can lead to excessive memory consumption or a crash, resulting in a denial of service for the application or system that uses the library. The misuse of allocation‑first parsers constitutes an unchecked input boundary error.

Affected Systems

Affected systems are projects that depend on the russh SSH client and server library from version 0.34.0 up to, but not including, version 0.61.0, which is released under the aegis of the Eugeny:russh vendor. Any deployment that processes SSH traffic through these library versions—whether as a client, server, or intermediary—puts an active or passive SSH peer in a position to trigger the flaw. The vulnerability surfaces when the peer transmits SSH messages that are decoded before bounds enforcement.

Risk and Exploitability

The CVSS score of 7.5 indicates high severity, and the absence of an EPSS figure means current public exploitation data is unavailable. The flaw is not presently listed in the CISA KEV catalog. Because the attack vector is remote, over a network connection, and requires no local privileges, an attacker can exploit the issue by simply establishing an SSH session and sending crafted messages. Organizations should treat this as a significant denial‑of‑service risk and anticipate that exploitability could be achieved by well‑equipped adversaries, especially those targeting SSH‑exposed services.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade all instances of russh to version 0.61.0 or later.
  • Recompile your application against the updated library.
  • If your service accepts connections from untrusted hosts, implement firewall rules or rate‑limiting to restrict excessive or malformed SSH traffic.
  • Review connection and buffer size configuration to ensure that even with the patch, defensive limits are in place to mitigate potential future regressions.

Generated by OpenCVE AI on June 10, 2026 at 23:29 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-4r3c-5hpg-58qr Russh SSH message fields were decoded through allocation-first parsers before field-specific bounds
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 to before version 0.61.0, several russh client and server message handlers decoded attacker-controlled SSH strings, name-lists, and byte fields into owned allocations before applying field-specific bounds. A remote SSH peer could send oversized, high-fanout, or malformed length-prefixed fields and make the library allocate, attempt to allocate, or split data before rejecting input that should have been rejected earlier. This issue has been patched in version 0.61.0.
Title Russh: SSH message fields were decoded through allocation-first parsers before field-specific bounds
Weaknesses CWE-20
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-20

    Improper Input Validation

Sources

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