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

- 種別: advisory
- 重大度: low
- 関連技術: rust
- CVE: CVE-2026-116775
- 公開日時: 2026-10-30T22:59:00.000Z
- 情報源: GitHub Advisory Database (https://github.com/advisories/GHSA-662x-8wvj-2276)
- パーマリンク: https://vulnpulse.app/items/ghsa-ghsa-662x-8wvj-2276

影響: rust:pageant >= 0.2.0, <= 0.2.4 → 0.2.5
pageant::PageantStream reads a 4-byte big-endian length prefix from its input stream and buffers until len + 4 bytes are available, without ever validating len. The underlying WM_COPYDATA transport physically cannot carry frames larger than 8 KiB (_AGENT_MAX_MSGLEN, the fixed-size shared memory mapping), so an oversized frame is destined to fail — but only after the re-framing task has already buffered the full claimed size. A peer controlling the stream bytes can claim a frame of up to ~4 GiB…