← 漏洞与更新

低危漏洞公告Rust

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

受影响

软件包受影响版本修复版本
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…

在 GitHub Advisory Database 阅读

2026/10/31 07:59,GitHub Advisory Database 发布了“pageant: unbounded frame buffering on peer-controlled 4-byte length prefix (memory-exhaustion DoS)”(类型:漏洞公告)。严重程度为“低危”(low)。相关技术:Rust。CVE:CVE-2026-116775。