FreeRDPにRD Gateway経由でヒープバッファオーバーフローの脆弱性、任意コード実行のおそれ
Summary
FreeRDPのRD GatewayのRPCクライアントに、ヒープバッファオーバーフローの脆弱性が見つかりました。悪意のあるRD Gatewayが細工したRPCフラグメントを送ると、クライアントのヒープメモリが上書きされ、クラッシュや任意コード実行のおそれがあります。3.32.2より前のFreeRDPが対象で、3.32.2で修正されています。3.32.2以降へ更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
FreeRDPのRD GatewayのRPCクライアントに、ヒープバッファオーバーフローの脆弱性が見つかりました。悪意のあるRD Gatewayが細工したRPCフラグメントを送ると、クライアントのヒープメモリが上書きされ、クラッシュや任意コード実行のおそれがあります。3.32.2より前のFreeRDPが対象で、3.32.2で修正されています。3.32.2以降へ更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| FreeRDPFreeRDP |
< 3.32.2→ 3.32.2 |
3.32.2 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-121964 freerdp3 Fix available
- Ubuntu UBUNTU-CVE-2026-121964 freerdp No fixed version in this record
Original description The description as published by the source.
FreeRDP before 3.32.2 contains a heap-based buffer overflow in the RD Gateway RPC client, where rpc_client_recv_fragment writes BIND_ACK and ALTER_CONTEXT_RESP fragments into a persistent PDU stream after checking only total capacity rather than remaining capacity from the current stream position. A malicious or compromised RD Gateway can send crafted RPC fragments with manipulated alloc_hint and frag_length values to overwrite client heap memory with attacker-controlled data, causing a crash or potentially arbitrary code execution.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- REDHAT Red Hat
- web github.com