Skip to content

CVE-2026-111061 russh agent server converts constraint records into unbounded never-rolled-back tasks

MediumCVSS 4.3 EPSS 0.35%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial
Technology
UbuntuDebianRed Hat

Description

russh is a Rust SSH client and server library that includes an SSH agent protocol implementation. Prior to 0.64.1, the agent server spawns a separate long-lived task for every SSH_AGENT_CONSTRAIN_LIFETIME record in a constrained add-key request. The loop accepts repeated lifetime records, clones the key blob into each task, and does not roll back tasks when later constraint parsing fails. An attacker that can speak the agent protocol locally or through agent forwarding can exhaust memory and tasks until the agent process is starved or terminated, denying SSH agent service. This issue is fixed in version 0.64.1.

Upgrade path

5 packages: 3 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/rust-russh(Ubuntu 26.10) All versions No fix listed No fix yet
crates.io russh(crates.io) < 0.64.1; <= 0.64.0 0.64.1 Fixed
debian/rust-russh(Debian 14) < 0.64.1-1; = 0.57.1-1; = 0.57.1-2 0.64.1-1 Fixed
redhat/openshell-main(Red Hat hummingbird 1) < 0.1.5-0.1.hum1; < 0.1.6-0.1.hum1 0.1.5-0.1.hum1, 0.1.6-0.1.hum1 Fixed
Eugeny russh = < 0.64.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
redhat/openshell-main(Red Hat:hummingbird:1) < 0.1.5-0.1.hum1 0.1.5-0.1.hum1
redhat/openshell-main(Red Hat:hummingbird:1) < 0.1.6-0.1.hum1 0.1.6-0.1.hum1
crates.io russh(crates.io) < 0.64.1 0.64.1
Eugeny russh = < 0.64.1 No fix listed
debian/rust-russh(Debian:14) < 0.64.1-1 0.64.1-1
debian/rust-russh(Debian:14) = 0.57.1-1 No fix listed
debian/rust-russh(Debian:14) = 0.57.1-2 No fix listed
crates.io russh(crates.io) <= 0.64.0 No fix listed
ubuntu/rust-russh(Ubuntu:26.10) All versions No fix listed

References