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
- 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…
Affected software
| Software | Affected versions |
|---|---|
russhcrates.io · osv:crates.io:russh |
|
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
Vulnerabilities in russh
- In our list
- 6
- Published in the last 12 months
- 6
- Critical, last 12 months
- 0
- High, last 12 months
- 1
- Known exploited
- 0
- CVE-2026-128087russh kex_done: Shared-secret callback runs before server host-key verificationLow 3.7 13 Nov 2026
- CVE-2026-128088russh try_sign: asynchronous confirmation can sign after agent lockLow 2.2 13 Nov 2026
- CVE-2026-116794russh: Agent server never calls `Agent::confirm`, so keys added with the confirm constraint (`ssh-add -c`) sign without confirmationHigh 30 Oct 2026
- CVE-2026-116774russh: peer-declared zero maximum packet size permanently stalls channel writes (silent AsyncWrite hang)Medium 4.3 30 Oct 2026
- CVE-2026-116696russh's SSH agent server is susceptible to unbound allocations via repeated SSH_AGENT_CONSTRAIN_CONFIRM messagesLow 3.3 30 Oct 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-116773
- GitHub Advisory Database https://github.com/advisories/GHSA-4p9f-7p9m-5vfg