CVE-2026-116775 pageant: unbounded frame buffering on peer-controlled 4-byte length prefix (memory-exhaustion DoS)
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- Red Hat
Description
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io pageant(crates.io) | >= 0.2.0, < 0.2.5; >= 0.2.0, <= 0.2.4 | 0.2.5 | Fixed |
| Eugeny russh | = >= 0.2.0, < 0.2.5 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io pageant(crates.io) | >= 0.2.0, < 0.2.5 | 0.2.5 |
| Eugeny russh | = >= 0.2.0, < 0.2.5 | No fix listed |
| crates.io pageant(crates.io) | >= 0.2.0, <= 0.2.4 | No fix listed |
References
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2565748 issue-tracking
- www.cve.org
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/Eugeny/russh/commit/69e4b55513eaa8ac9d2ad4236f13171fc164e10a patch
- https://github.com/Eugeny/russh/releases/tag/v0.65.0
- https://github.com/Eugeny/russh/security/advisories/GHSA-662x-8wvj-2276 exploit vendor-advisory
- github.com product
- github.com
- ENISA EUVD EUVD-2026-111390 third-party-advisory