CVE-2026-48110: CWE-20: Improper Input Validation in Eugeny russh
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.
AI Analysis
Technical Summary
The russh library versions >=0.34.0 and <0.61.0 contain an improper input validation vulnerability (CWE-20) where SSH message handlers decode attacker-controlled length-prefixed fields into owned allocations prior to bounds checking. This allows a remote SSH peer to send oversized or malformed fields that cause the library to allocate or process data unnecessarily before rejecting it, potentially leading to denial of service due to resource exhaustion. The vulnerability has a CVSS 3.1 score of 7.5 (high severity) with network attack vector, low attack complexity, no privileges or user interaction required, and impacts availability. The issue is fixed in version 0.61.0.
Potential Impact
An attacker who can connect to a vulnerable russh client or server can send specially crafted SSH messages with oversized or malformed length-prefixed fields. This causes the library to allocate excessive memory or perform costly operations before rejecting the input, potentially resulting in denial of service by exhausting resources. There is no confidentiality or integrity impact reported.
Mitigation Recommendations
Upgrade russh to version 0.61.0 or later, where this improper input validation vulnerability is patched. No other mitigation or workaround is indicated. Patch status is not explicitly stated but the fix is included in version 0.61.0.
CVE-2026-48110: CWE-20: Improper Input Validation in Eugeny russh
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.
CVSS v3.1
Score 7.5high
Affected software
pkg:cargo/github/Eugeny/russhRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The russh library versions >=0.34.0 and <0.61.0 contain an improper input validation vulnerability (CWE-20) where SSH message handlers decode attacker-controlled length-prefixed fields into owned allocations prior to bounds checking. This allows a remote SSH peer to send oversized or malformed fields that cause the library to allocate or process data unnecessarily before rejecting it, potentially leading to denial of service due to resource exhaustion. The vulnerability has a CVSS 3.1 score of 7.5 (high severity) with network attack vector, low attack complexity, no privileges or user interaction required, and impacts availability. The issue is fixed in version 0.61.0.
Potential Impact
An attacker who can connect to a vulnerable russh client or server can send specially crafted SSH messages with oversized or malformed length-prefixed fields. This causes the library to allocate excessive memory or perform costly operations before rejecting the input, potentially resulting in denial of service by exhausting resources. There is no confidentiality or integrity impact reported.
Mitigation Recommendations
Upgrade russh to version 0.61.0 or later, where this improper input validation vulnerability is patched. No other mitigation or workaround is indicated. Patch status is not explicitly stated but the fix is included in version 0.61.0.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-20T18:46:58.288Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a29d0250e53e73883986cdb
Added to database: 6/10/2026, 8:59:17 PM
Last enriched: 6/10/2026, 9:14:00 PM
Last updated: 6/10/2026, 11:34:15 PM
Views: 11
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.