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

- Priority: **Routine**
- Reason: Not severe (CVSS 6.2, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-09-29 · Modified: 2026-09-30
- Aliases: GHSA-g4mp-vgx3-xrvm, DEBIAN-CVE-2026-102820, UBUNTU-CVE-2026-102820
- Record: https://cvemate.com/vulnerability/CVE-2026-102820 · JSON: https://cvemate.com/vulnerability/CVE-2026-102820/json

## Description

```text
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.
```

## Signals

- CVSS: 6.2 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.188%, percentile 8.847%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- Crates.Io pageant (Crates.Io): \< 0.2.3
- debian rust-russh (Debian): \< 0.64.1-1
- ubuntu rust-russh (Ubuntu): All versions (No fix recorded)
- eugeny russh: \< 0.63.2
- rust pageant: \< 0.2.3

## References

- <https://github.com/Eugeny/russh/security/advisories/GHSA-g4mp-vgx3-xrvm>
- <https://github.com/Eugeny/russh/commit/5d566989ebabfdebfe6b33243d31765a0812260b>
- <https://github.com/Eugeny/russh/releases/tag/v0.63.2>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-102820>
- <https://github.com/Eugeny/russh>
- <https://security-tracker.debian.org/tracker/CVE-2026-102820>
- <https://ubuntu.com/security/CVE-2026-102820>
- <https://www.cve.org/CVERecord?id=CVE-2026-102820>

---

Data as of 2026-12-05T10:18:31.012Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
