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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-125",
"CWE-789"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/102xxx/CVE-2026-102820.json",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"fixed": "0.2.3"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
}
]
}
]
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "0.63.2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "5d566989ebabfdebfe6b33243d31765a0812260b"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v0.63.2",
"range": [
{
"fixed": "8a51a0dca4f6fbdcc3ce98c627254026b25b3252"
}
],
"source": "REFERENCES_TAG"
}
]
}