# CVE-2026-116696: russh's SSH agent server is susceptible to unbound allocations via repeated SSH\_AGENT\_CONSTRAIN\_CONFIRM messages

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** LOW 3.3
- **CVSS:** 3.3 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.16% (percentile 2, 2026-11-28)
- **CWE:** CWE-770
- **Aliases:** GHSA-9wfm-jcj8-jfv9
- **Published:** 2026-10-27T20:14:32.973Z
- **Modified:** 2026-11-02T20:17:33.387Z

## Who should check

- Projects that depend on crates.io package russh (\< 0.65.0)
- Anyone running Eugeny russh \< 0.65.0

## Description

russh is a Rust SSH client and server library that includes an SSH agent protocol implementation. Prior to 0.65.0, russh::keys::agent::server::serve in russh/src/keys/agent/server.rs accepts repeated SSH\_AGENT\_CONSTRAIN\_CONFIRM records while adding a key and appends every Constraint::Confirm record to the key's retained constraint vector without a count or memory limit. A process that can connect to the agent socket, including the remote side of a forwarded agent session, can repeatedly add constrained keys and cause renewable memory growth that persists for the process lifetime because keys without a lifetime constraint do not expire. This issue is fixed in version 0.65.0.

## Affected and fixed versions

- crates.io `russh`: affected \< 0.65.0; fixed 0.65.0 (osv)
- Eugeny russh: \< 0.65.0 (cvelist)

## Mitigation

- Upgrade russh to 0.65.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-116696. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-116696.md
Affected: russh < 0.65.0
Fixed in: 0.65.0

Steps:
1. Search this machine and project for russh (crates.io), Eugeny russh: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-116696 being exploited?

There is no confirmed exploitation: CVE-2026-116696 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-116696?

Low: CVSS 3.3 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-116696?

russh \< 0.65.0.

### Is there a fix for CVE-2026-116696?

Yes. Fixed in 0.65.0. Upgrade russh to 0.65.0 or later.

### How do I check if I'm affected by CVE-2026-116696?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/Eugeny/russh/security/advisories/GHSA-9wfm-jcj8-jfv9>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-116696>
- patch: <https://github.com/Eugeny/russh/commit/23aa5d28fe9601c5bdfe9e60b7ec5d4f882c3de6>
- other: <https://github.com/Eugeny/russh/releases/tag/v0.65.0>
- other: <https://github.com/Eugeny/russh>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-116696>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-9wfm-jcj8-jfv9> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-116696> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-116696>
