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

- Severity: Low 3.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-27T20:14:32.973Z
- Modified: 2026-11-02T20:17:33.387Z
- Also known as: GHSA-9wfm-jcj8-jfv9
- Weaknesses: CWE-770
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- Eugeny russh: < 0.65.0
- russh (crates.io): before 0.65.0

## Every score

- GitHub_M: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`

## References

- <https://github.com/Eugeny/russh/security/advisories/GHSA-9wfm-jcj8-jfv9> (exploit, web)
- <https://github.com/Eugeny/russh/commit/23aa5d28fe9601c5bdfe9e60b7ec5d4f882c3de6> (web)
- <https://github.com/Eugeny/russh/releases/tag/v0.65.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-116696> (advisory)
- <https://github.com/Eugeny/russh> (package)

## Sources

- CVE List: [CVE-2026-116696](https://www.cve.org/CVERecord?id=CVE-2026-116696), CVE Terms of Use, modified 2026-11-02
- GitHub Advisory Database: [GHSA-9wfm-jcj8-jfv9](https://github.com/advisories/GHSA-9wfm-jcj8-jfv9), CC-BY-4.0, modified 2026-10-30
- NVD: [CVE-2026-116696](https://nvd.nist.gov/vuln/detail/CVE-2026-116696), Public domain, modified 2026-11-02

---

Page: https://cve.day/CVE-2026-116696 · Whole record: https://cve.day/CVE-2026-116696.json · Rebuilt by cve.day 2026-11-25T22:59:47.459Z
