All vulnerabilities

crates.io

CVE-2026-116773

russh's SSH client is susceptible to unbounded allocations via EXT_INFO packets

Severity
Medium 4.3
Published
30 Oct 2026
Last changed
30 Oct 2026
Added to UpHeron
23 Nov 2026
Fixed in
0.65
Exploit chance
0.4% in the next 30 daysHigher than 33% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Allocation without limits (CWE-770)
Attack
Over the network · No login needed · Needs someone to click or open something
Attacker can
Slow it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
Also known as
GHSA-4p9f-7p9m-5vfg
Sources
OSV.dev and GitHub

Description

All evidence, reproduction steps, and scripts in the report were verified against a real running instance. Nothing is fabricated or synthetic; every verdict is backed by captured output from an actual deployment. Concretely, the evidence comes from executing the real russh v0.64.1 client packet parser (Session::process_packet handling handle_ext_info) in a live client session with attacker-supplied packet bodies in the pre-authentication state; the captured output below is from that real execution.

russh's client stores every extension name it parses out of an EXT_INFO packet into a per-session vector and never clears, caps, or deduplicates it (russh/src/client/encrypted.rs:433, field declared at russh/src/session.rs:60). The packet is accepted without limit in the pre-authentication states, so a server - which is exactly the attacker position for a client library, and remains one even after the client has verified its host key - can send an unbounded sequence of these packets and…

From the GitHub Advisory Database, CC BY 4.0. Shortened; the full text is there.

Affected software

SoftwareAffected versions
russhcrates.io · osv:crates.io:russh
  • Every version before 0.65

About russh

Downloads in the last 90 days (crates.io)
5,135,797crates.io, 23 Nov 2026
Total downloads (crates.io)
11,304,063crates.io, 23 Nov 2026

References