CVE-2026-102820: pageant: Out-of-bounds read / oversized allocation in `pageant` MemoryMap::read via a malicious Pageant agent (Windows)

Published Sep 29, 2026
·
Updated

pageant provides a [PageantStream] type that implements [AsyncRead] and [AsyncWrite] traits and can be used to talk to a running Pageant instance. Prior to pageant 0.2.3, the Windows pageant crate's pageant/src/wmmessage.rs MemoryMap::read function trusts a peer-controlled u32 response length supplied through the 8192-byte Pageant shared-memory mapping reached by AgentClient::connectpageant. A local process that impersonates the Pageant window can make querypageantdirect allocate up to approximately 4 GiB and copy beyond the mapped view, reliably crashing a russh client and conditionally exposing adjacent committed memory. This issue is fixed in pageant 0.2.3.

Affected Software

1 affected component
crates.io/pageant<0.2.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pageant to a version that resolves this vulnerability.

    Fixed in 0.2.3

Event History

Sep 29, 2026
CVE Published
via MITRE·06:18 PM
Data Sourced
via MITRE·06:18 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which systems and applications are exposed?

The issue affects Windows applications using the pageant crate before version 0.2.3 and connecting to a Pageant instance through its PageantStream support. A russh client is specifically identified as reliably crashable.

2

What does an attacker need to exploit this?

An attacker needs to run a local process that can impersonate the Pageant window. The malicious agent then supplies a peer-controlled response length through the Pageant shared-memory mapping.

3

What is the practical impact?

A malicious response can cause an allocation of up to approximately 4 GiB and a copy beyond the mapped memory view. This reliably crashes a russh client and may conditionally expose adjacent committed memory.

4

What version fixes the issue?

Upgrade the pageant crate to version 0.2.3 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203