{"id":"CVE-2026-102820","published":"2026-09-29T18:18:43Z","modified":"2026-09-30T20:11:08Z","title":"pageant: Out-of-bounds read / oversized allocation in `pageant` MemoryMap::read via a malicious Pageant agent (Windows)","vendor":"Eugeny","product":"russh","tier":"tail","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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.2,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00184,"percentile":0.04633,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"},{"id":"CWE-789","name":"Memory Allocation with Excessive Size Value"}],"references":[{"url":"https://github.com/Eugeny/russh/security/advisories/GHSA-g4mp-vgx3-xrvm","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Eugeny/russh/commit/5d566989ebabfdebfe6b33243d31765a0812260b","tags":["x_refsource_MISC"]},{"url":"https://github.com/Eugeny/russh/releases/tag/v0.63.2","tags":["x_refsource_MISC"]}],"priority":{"score":5.3,"factors":[{"name":"EPSS percentile","points":0.93},{"name":"CVSS severity","points":4.34}]},"vendorSlug":"eugeny","affectedVersions":[{"vendor":"Eugeny","product":"russh","versions":["< 0.63.2"]},{"vendor":"rust","product":"pageant","versions":["< 0.2.3"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-30T20:11:00.619637Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"pageant","vulnerableRanges":["<0.2.3"],"patched":["0.2.3"],"from":["GHSA-g4mp-vgx3-xrvm"],"provenance":"source"}],"summary":{"text":"The pageant crate's Windows implementation (pageant/src/wmmessage.rs, MemoryMap::read), used by russh through AgentClient::connect_pageant, trusts a peer-supplied 32-bit response length when reading from the Pageant shared-memory mapping. A local process that impersonates the Pageant window can cause the client to attempt an allocation of up to roughly 4 GiB and read beyond the mapped view, crashing the russh client and potentially exposing adjacent memory; no authentication or user interaction is required, only local access on Windows.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:17:37Z"},"euvd":{"id":"EUVD-2026-89203","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-eugeny-russh-cve-2026-102820","children":[{"from":"CVE-2026-102820","to":"CVE-2026-116775","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"crates.io:pageant","fromFixed":"0.2.3","toFixed":"0.2.5","daysApart":28},{"kind":"same-code","provenance":"machine","files":["pageant/src/wmmessage.rs"],"commits":["https://github.com/Eugeny/russh/commit/5d566989ebabfdebfe6b33243d31765a0812260b","https://github.com/Eugeny/russh/commit/69e4b55513eaa8ac9d2ad4236f13171fc164e10a"],"basis":"rarely changed file"},{"kind":"similar","provenance":"machine","score":0.56,"basis":"same product + description similarity"}]}],"packageHistory":[{"cve":"CVE-2026-102820","published":"2026-09-29","fixed":"0.2.3","kev":false},{"cve":"CVE-2026-116775","published":"2026-10-27","fixed":"0.2.5","kev":false}],"package":"crates.io:pageant"}}