{"id":"CVE-2026-102820","revision":"8288c01d3cd54c1e9ba322c135a4e5bf","records":[{"revision":"8288c01d3cd54c1e9ba322c135a4e5bf","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-102820","aliases":[],"title":"pageant: Out-of-bounds read / oversized allocation in `pageant` MemoryMap::read via a malicious Pageant agent (Windows)","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.","state":0,"publishedAt":"2026-09-29T18:18:43.297+00:00","modifiedAt":"2026-09-30T20:11:08.453+00:00","affected":[{"ecosystem":"Vendor product","name":"russh","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"Eugeny\",\n                    \"product\": \"russh\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 0.63.2\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"pageant","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"rust\",\n                    \"product\": \"pageant\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 0.2.3\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":6.2,"severity":"MEDIUM"}],"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"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-102820","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-102820","identifiers":["CVE-2026-102820"]},"retained":false,"historicalAffected":[]}],"coverage":[]}