CVE-2026-116775
pageant provides a PageantStream type that implements AsyncRead and AsyncWrite traits and can be used to communicate with a running Pageant instance.
Impact
pageant provides a PageantStream type that implements AsyncRead and AsyncWrite traits and can be used to communicate with a running Pageant instance. From 0.2.0 until 0.2.5, PageantStream::new in pageant/src/wmmessage.rs trusts a peer-controlled four-byte length prefix and buffers until len + 4 bytes are available without checking the fixed _AGENT_MAX_MSGLEN transport capacity. An application that bridges an SSH forwarded-agent channel to the raw stream can allow a malicious server to force large allocations or retain a partially filled frame, causing client memory exhaustion. This issue is fixed in version 0.2.5.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| rust | pageant | >= 0.2.0, <= 0.2.4 | 0.2.5 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Eugeny | Russh | from 0.2.0, before 0.2.5 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-662x-8wvj-2276
- https://github.com/Eugeny/russh/security/advisories/GHSA-662x-8wvj-2276
- https://nvd.nist.gov/vuln/detail/CVE-2026-116775
- https://github.com/Eugeny/russh/commit/69e4b55513eaa8ac9d2ad4236f13171fc164e10a
- https://github.com/Eugeny/russh/releases/tag/v0.65.0