CVE-2026-102820 pageant: Out-of-bounds read / oversized allocation in `pageant` MemoryMap::read via a malicious Pageant agent (Windows)
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- UbuntuDebianRed Hat
Description
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::connect_pageant. A local process that impersonates the Pageant window can make query_pageant_direct 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.
Upgrade path
5 packages: 2 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/rust-russh(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| crates.io pageant(crates.io) | < 0.2.3; <= 0.2.2 | 0.2.3 | Fixed |
| debian/rust-russh(Debian 14) | < 0.64.1-1; = 0.57.1-1; = 0.57.1-2 | 0.64.1-1 | Fixed |
| Eugeny russh | = < 0.63.2 | No fix listed | Versions listed |
| rust pageant | = < 0.2.3 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Eugeny russh | = < 0.63.2 | No fix listed |
| rust pageant | = < 0.2.3 | No fix listed |
| crates.io pageant(crates.io) | < 0.2.3 | 0.2.3 |
| debian/rust-russh(Debian:14) | < 0.64.1-1 | 0.64.1-1 |
| debian/rust-russh(Debian:14) | = 0.57.1-1 | No fix listed |
| debian/rust-russh(Debian:14) | = 0.57.1-2 | No fix listed |
| crates.io pageant(crates.io) | <= 0.2.2 | No fix listed |
| ubuntu/rust-russh(Ubuntu:26.10) | All versions | No fix listed |
References
- https://github.com/Eugeny/russh/security/advisories/GHSA-g4mp-vgx3-xrvm exploit vendor-advisory
- https://github.com/Eugeny/russh/commit/5d566989ebabfdebfe6b33243d31765a0812260b patch
- https://github.com/Eugeny/russh/releases/tag/v0.63.2
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2543500 issue-tracking
- www.cve.org
- Debian Security Tracker CVE-2026-102820 vendor-advisory
- github.com
- Ubuntu CVE tracker vendor-advisory
- bugs.debian.org issue-tracking
- ENISA EUVD EUVD-2026-89203 third-party-advisory