CVE-2026-116775
LowCVSS 2.3Exploitation Probability (EPSS)
Low risk22th percentile - higher than 22% of all known CVEs
Summary
pageant versions 0.2.0 through 0.2.5 trust a peer-controlled four-byte length prefix and buffer 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 is fixed in version 0.2.5.
Risk Assessment
A malicious SSH server can cause memory exhaustion in the client process using pageant, potentially leading to denial of service or application instability.
Recommendation
Update the pageant library to version 0.2.5 or later. Verify that the application does not bridge an SSH agent channel to the raw stream without limits.
Other vulnerabilities in pageant
Original NVD description (English source)
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.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

