Skip to main content

Russh CVE-2026-48107

| EUVDEUVD-2026-36129 MEDIUM
Improper Input Validation (CWE-20)
2026-06-10 GitHub_M GHSA-g9g7-5cgw-6v28
6.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Client initiates SSH connection to malicious server
  2. Delivery
    Server advertises keyboard-interactive as only auth method
  3. Exploit
    Server sends USERAUTH_INFO_REQUEST with inflated prompt count
  4. Execution
    Client calls Vec::with_capacity() with unvalidated attacker value
  5. Persist
    OOM or panic triggers on unmet packet read
  6. Impact
    Client process crashes (DoS)

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
Exploitation Conditions

The russh client must initiate an SSH connection to a server controlled or influenced by the attacker. The SSH server must advertise keyboard-interactive as a supported or required authentication method (servers can restrict offered auth methods, so the attacker-controlled server simply advertises only keyboard-interactive to force this code path). The client application must be using russh versions 0.37.0 through 0.60.x. No special client-side configuration is required beyond using the affected version; the vulnerability is in default keyboard-interactive handling. Exploitation is limited by the requirement that the client connects outbound to the attacker's server - passive, internet-facing russh servers are not directly exploitable by this vector. Man-in-the-middle scenarios are theoretically possible if host key verification is absent or bypassed, but host key pinning would prevent MITM exploitation.

Impact

The CVSS 3.1 score of 6.5 (Medium) with vector AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H accurately reflects the real-world risk profile: network-reachable, low complexity, but requiring the client to initiate a connection to the attacker's server (UI:R). The tag 'Information Disclosure' in the source intelligence conflicts with the CVSS vector, which assigns C:N - no confidentiality impact is substantiated by the description, and the tag appears to be a mis-classification; the actual impact is exclusively availability. No EPSS data was provided, and the vulnerability is absent from CISA KEV, indicating no confirmed widespread active exploitation. The practical threat is narrower than a pure server-side CVSS:6.5 would suggest: exploitation requires the russh client to initiate a connection to a hostile server and to negotiate keyboard-interactive auth - conditions an attacker must social-engineer or supply via a man-in-the-middle position. Applications that connect only to trusted, known SSH servers face negligible risk; those that connect to arbitrary or user-supplied SSH endpoints face meaningful risk of process crash.

Exploit ScenarioDerived

An attacker deploys a rogue SSH server (or intercepts traffic via MITM) and waits for a russh-based client to connect. When keyboard-interactive authentication begins, the attacker's server responds with a USERAUTH_INFO_REQUEST carrying a prompt count of, say, 2,147,483,647, paired with zero actual prompt entries. The russh client attempts Vec::with_capacity(2147483647), triggering an OOM panic, and the client process terminates - causing a denial of service in any application relying on that SSH session. No public proof-of-concept code has been identified, but the attack is straightforward to implement given the published advisory.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 10, 2026

Denial of service in Russh (versions 0.37.0-0.60.x), a Rust SSH client and server library, allows a malicious SSH server to crash connecting clients by exploiting improper input validation in the keyboard-interactive authentication path. The server supplies an attacker-controlled prompt count in a USERAUTH_INFO_REQUEST message, which the client passes directly to Vec::with_capacity() before verifying the packet contains the claimed number of prompts - resulting in a panic or out-of-memory condition that terminates the client process. No public exploit has been identified at time of analysis, and the vulnerability is not listed in the CISA KEV catalog.

RemediationAI

Upgrade russh to version 0.61.0, which patches this vulnerability by validating the server-supplied prompt count against the actual packet data before calling Vec::with_capacity(). The fix is confirmed by the upstream GitHub Security Advisory GHSA-g9g7-5cgw-6v28 at https://github.com/Eugeny/russh/security/advisories/GHSA-g9g7-5cgw-6v28. Update your Cargo.toml dependency to russh = "0.61.0" or later and run cargo update to resolve. If an immediate upgrade is not possible, a compensating control is to disable keyboard-interactive authentication in russh client configuration and restrict the client to publickey or password authentication methods only - note this may break compatibility with servers that mandate keyboard-interactive. Additionally, restricting which SSH server hostnames or IP addresses the application may connect to (allowlisting) reduces the attack surface by preventing connections to attacker-controlled servers.

Affected VersionsENISA

russh 0.37.0, < 0.61.0

Affected Packages

cargo russh fix: 0.61.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in cargo

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Russh (CPE: cpe:2.3:a:eugeny:russh:*:*:*:*:*:*:*:*) is a pure-Rust SSH protocol library implementing both client and server roles. The affected code path implements RFC 4256 keyboard-interactive authentication, where the server sends a USERAUTH_INFO_REQUEST SSH message containing a prompt-count field (a 32-bit unsigned integer). The client is expected to parse this count, verify the packet body contains that many prompts, then collect them. The defect (CWE-20: Improper Input Validation) is that the raw, server-supplied integer is fed directly into Vec::with_capacity() as the allocation hint before the packet is checked for sufficient data. In Rust, Vec::with_capacity() with a very large value causes an allocation attempt that may panic on OOM, and subsequent index-out-of-bounds reads on an underfilled vector produce panics that crash the process. Because the malicious server fully controls the USERAUTH_INFO_REQUEST payload, it can supply any arbitrary count value with zero or few actual prompts.

Know when Russh gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
vuln.today AI 6.5 MEDIUM

Attacker controls a remote server (AV:N, AC:L, PR:N); client must connect voluntarily (UI:R); crash is client-local only (S:U); purely DoS, no data exposure (C:N, I:N, A:H).

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

1
Patch available
Jun 10, 2026 - 22:01 EUVD

DescriptionCVE.org

Russh is a Rust SSH client & server library. From version 0.37.0 to before version 0.61.0, in the russh client keyboard-interactive authentication path, a malicious SSH server could send a USERAUTH_INFO_REQUEST with an attacker-controlled prompt count, and the client would use that raw count directly in Vec::with_capacity(...) before validating that enough prompt data was actually present in the packet. This issue has been patched in version 0.61.0.

Threat Intelligence Overview

EPSS Score
0.1%
Top 72% exploitable
Threat Intel
1
1 sources
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Russh

View all
CVE-2023-48795 MEDIUM POC
5.9 Dec 18

The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remot

CVE-2024-43410 HIGH POC
7.5 Aug 21

Russh is a Rust SSH client & server library. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable,

CVE-2023-28113 MEDIUM POC
5.9 Mar 16

russh is a Rust SSH client and server library. Rated medium severity (CVSS 5.9), this vulnerability is remotely exploita

CVE-2026-73430 MEDIUM POC
5.3 Aug 12

Unauthenticated remote denial of service in the Russh SSH library (versions ≤ 0.62.3) allows any network attacker to cra

CVE-2026-73429 MEDIUM POC
5.3 Aug 12

Denial-of-service in russh's Curve25519 key exchange client path allows any malicious SSH server to crash a connecting r

CVE-2026-116794 HIGH
8.3 Oct 28

russh's SSH agent server signs with keys loaded under the confirm constraint without ever invoking the application's app

CVE-2026-102823 HIGH
7.5 Sep 29

Improper validation in the Russh Rust SSH library (versions prior to 0.63.1) lets a malicious or compromised SSH server

CVE-2026-42189 HIGH
7.5 May 08

Pre-authentication denial-of-service in russh SSH server library allows remote attackers to crash servers implementing k

CVE-2026-48110 HIGH
7.5 Jun 10

Denial of service in Russh (Rust SSH client/server library) versions 0.34.0 through 0.60.x allows remote SSH peers to tr

CVE-2026-102821 MEDIUM POC
6.5 Sep 29

Memory exhaustion in the Russh Rust SSH client/server library prior to 0.63.2 allows an authenticated remote peer to sta

CVE-2026-102820 MEDIUM POC
6.2 Sep 29

The Windows Pageant client inside the pageant Rust crate (pageant/src/wmmessage.rs) trusts a peer-controlled u32 respons

CVE-2026-48108 MEDIUM
5.3 Jun 10

Resource exhaustion in Russh's SSH server identification-string reader allows unauthenticated remote attackers to hold c

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy