russh's SSH agent server is susceptible to unbound allocations via repeated SSH_AGENT_CONSTRAIN_CONFIRM messages
Affects russhSource GCVE Database
Not known to be exploited · CVSS 3.3 Low : upgrade to 0.65.0 when convenient.
Data as of 31 Oct 2026, 02:06 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 3.3 |
|---|
- Patch
- Available – fixed in 0.65.0
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:LExploitation evidence
Disclosed: evidence found.
CVE published 27 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.
What to do
Upgrade russh to 0.65.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| crates.iorussh | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade to russh version 0.65.0 or later, where this issue is fixed by limiting the handling of SSH_AGENT_CONSTRAIN_CONFIRM records. Until patched, restrict local access to the SSH agent socket to trusted processes only to prevent exploitation.
Description
The russh SSH agent server (version prior to 0.65.0) has a vulnerability where it unboundedly allocates memory when processing SSH_AGENT_CONSTRAIN_CONFIRM (0x02) records during key addition requests. Each 1-byte confirm record causes a 56-byte allocation retained for the process lifetime, with no limit on the number of such records per key or the number of keys stored. This can lead to persistent memory growth controlled by any local process able to connect to the agent socket. The issue was fixed in version 0.65.0.
References
- github.com/Eugeny/russh/security/advisories/GHSA-9wfm-jcj8-jfv9 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-116696 (opens in a new tab)
- github.com/Eugeny/russh/commit/23aa5d28fe9601c5bdfe9e60b7ec5d4f882c3de6 (opens in a new tab)
- github.com/Eugeny/russh (opens in a new tab)
- github.com/Eugeny/russh/releases/tag/v0.65.0 (opens in a new tab)