CVE-2026-102820
MEDIUM 6.2CVSS 3.1pageant: Out-of-bounds read / oversized allocation in `pageant` MemoryMap::read via a malicious Pageant agent (Windows)
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.
- Published
- 29 Sep 2026
- Last modified
- 1 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-125CWE-789
- Also known as
- GHSA-g4mp-vgx3-xrvm
- Sources
- NVDJSONOSV GHSA-g4mp-vgx3-xrvmJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | pageant | < 0.2.3 | 0.2.3 |
References
- https://github.com/Eugeny/russh/commit/5d566989ebabfdebfe6b33243d31765a0812260b · WEB
- https://github.com/Eugeny/russh/releases/tag/v0.63.2 · WEB
- https://github.com/Eugeny/russh/security/advisories/GHSA-g4mp-vgx3-xrvm · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-102820 · ADVISORY
- https://github.com/Eugeny/russh · PACKAGE
History
- 25 Nov 2026 21:21 UTC · NVD: first stored (published 29 Sep 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 30 Sep 2026)