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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.2
- **CVSS:** 6.2 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.18% (percentile 5, 2026-11-28)
- **CWE:** CWE-125, CWE-789
- **Aliases:** GHSA-g4mp-vgx3-xrvm
- **Published:** 2026-09-29T18:18:43.297Z
- **Modified:** 2026-10-01T00:00:04.680Z

## Who should check

- Projects that depend on crates.io package pageant (\< 0.2.3)
- Anyone running Eugeny russh \< 0.63.2
- Anyone running rust pageant \< 0.2.3

## 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.

## Affected and fixed versions

- crates.io `pageant`: affected \< 0.2.3; fixed 0.2.3 (osv)
- Eugeny russh: \< 0.63.2 (cvelist)
- rust pageant: \< 0.2.3 (cvelist)

## Mitigation

- Upgrade pageant to 0.2.3 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-102820. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-102820.md
Affected: pageant < 0.2.3
Fixed in: 0.2.3

Steps:
1. Search this machine and project for pageant (crates.io), Eugeny russh, rust pageant: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-102820 being exploited?

There is no confirmed exploitation: CVE-2026-102820 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-102820?

Medium: CVSS 6.2 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-102820?

pageant \< 0.2.3.

### Is there a fix for CVE-2026-102820?

Yes. Fixed in 0.2.3. Upgrade pageant to 0.2.3 or later.

### How do I check if I'm affected by CVE-2026-102820?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/Eugeny/russh/security/advisories/GHSA-g4mp-vgx3-xrvm>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-102820>
- patch: <https://github.com/Eugeny/russh/commit/5d566989ebabfdebfe6b33243d31765a0812260b>
- other: <https://github.com/Eugeny/russh/releases/tag/v0.63.2>
- other: <https://github.com/Eugeny/russh>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-102820>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-g4mp-vgx3-xrvm> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-102820> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-102820>
