THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-4wc5-f2rc-q74m (medium) — russh: Unbounded memory allocation in agent protocol server via crafted constraint records

[GHSA] GHSA-4wc5-f2rc-q74m (medium) — russh: Unbounded memory allocation in agent protocol server via crafted constraint records

highgithub_advisoriesPublished 2026-10-19

GHSA-4wc5-f2rc-q74m Severity: medium CVE: CVE-2026-111061

russh: Unbounded memory allocation in agent protocol server via crafted constraint records

### Summary

`russh_keys::agent::server::add_key` (`russh/src/keys/agent/server.rs:271-319`) spawns a dedicated tokio task for every 5-byte `SSH_AGENT_CONSTRAIN_LIFETIME` record attached to an added key, each cloning the key blob and sleeping for th

Indicators of compromise

Original source: https://github.com/advisories/GHSA-4wc5-f2rc-q74m