Skip to content
OpenAdvisories
Low · 2.3 CVE-2026-116775 EUVD-2026-111390GHSA-662x-8wvj-2276

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

Published Oct 27, 2026 · Updated Nov 3, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
Eugeny russh >= 0.2.0, < 0.2.5 —

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io pageant >= 0.2.0, < 0.2.5 0.2.5 GHSA-662x-8wvj-2276

References