← Vulnerabilities

LowAdvisoryRust

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

Affected

PackageAffected versionsFixed in
rust:pageant>= 0.2.0, <= 0.2.40.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…

Read on GitHub Advisory Database

On 10/31/2026, 07:59 AM, GitHub Advisory Database published "pageant: unbounded frame buffering on peer-controlled 4-byte length prefix (memory-exhaustion DoS)" (type: Advisory). Severity is "Low" (low). Related technologies: Rust. CVE: CVE-2026-116775.