← 脆弱性・アップデート

注意脆弱性アドバイザリ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。