Skip to content

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

LowCVSS 2.3 EPSS 0.46%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial
Technology
Red Hat

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
crates.io pageant(crates.io) >= 0.2.0, < 0.2.5; >= 0.2.0, <= 0.2.4 0.2.5 Fixed
Eugeny russh = >= 0.2.0, < 0.2.5 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
crates.io pageant(crates.io) >= 0.2.0, < 0.2.5 0.2.5
Eugeny russh = >= 0.2.0, < 0.2.5 No fix listed
crates.io pageant(crates.io) >= 0.2.0, <= 0.2.4 No fix listed

References