Technical impact
PageantStream::new in the russh Pageant module reads a 4‑byte length prefix supplied by a peer without enforcing the maximum transport capacity. This allows an attacker controlling the server side of an SSH forwarded‑agent channel to request its client to allocate arbitrarily large buffers. The resulting memory exhaustion can cause the client process to crash or become unresponsive, providing a denial‑of‑service vector. The flaw is a classic unchecked allocation issue and is formally classified as CWE‑770.
Affected Systems
The vulnerability affects the russh implementation from Eugeny, specifically the pageant module in version 0.2.0 through 0.2.5 inclusive. Both earlier releases and the current release v0.65.0 already contain the fix, so only the 0.2.0‑0.2.5 range is impacted.
Risk and Exploitability
The CVSS score of 2.3 indicates a low severity and low complexity exploitation path. EPSS is not available, and the vulnerability is not listed in CISA’s KEV catalog. An attacker would need to control or convince an SSH server to supply a malicious agent frame during a forwarded‑agent session; this is typically achievable over a network connection that the client initiates, which makes the attack remotely accessible but requires that the client allows forwarded‑agent connections.
Github GHSA