CVE-2026-102820
mediumpageant provides a [PageantStream] type that implements [AsyncRead] and [AsyncWrite] traits and can be used to talk to a running Pageant instance.
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.
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://github.com/Eugeny/russh/commit/5d566989ebabfdebfe6b33243d31765a0812260b security-advisories@github.com
- https://github.com/Eugeny/russh/releases/tag/v0.63.2 security-advisories@github.com
- https://github.com/Eugeny/russh/security/advisories/GHSA-g4mp-vgx3-xrvm security-advisories@github.com
- https://github.com/Eugeny/russh/security/advisories/GHSA-g4mp-vgx3-xrvm 134c704f-9b21-4f2e-91b3-4a467353bcc0
