CVE-2026-121964

FreeRDP before 3.32.2 Heap Buffer Overflow via rpc_client_recv_fragment

Published Nov 4, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

FreeRDP before version 3.32.2 contains a heap-based buffer overflow in the RD Gateway RPC client. The flaw occurs when rpc_client_recv_fragment writes BIND_ACK and ALTER_CONTEXT_RESP fragments into a persistent PDU stream after verifying only the total capacity, ignoring the remaining space from the current stream position. A malicious or compromised RD Gateway can send crafted RPC fragments with manipulated alloc_hint and frag_length values, allowing an attacker to overwrite client heap memory with controlled data, which can lead to a crash or potentially arbitrary code execution.

Affected Systems

The vulnerability affects the FreeRDP project, specifically all builds of the FreeRDP client prior to release 3.32.2. No specific operating system or distribution details are listed, but any deployment of these older FreeRDP versions that connects to an RD Gateway is potentially impacted.

Risk and Exploitability

The CVSS score of 8.7 indicates a high severity. The EPSS score of 0.00573 suggests an extremely low but nonzero likelihood of exploitation, and the vulnerability is not listed in CISA KEV. If an RD Gateway can be reached from an attacker‑controlled environment, the flaw could be exploited remotely by sending specially crafted RPC fragments, leading to heap corruption, application crashes, or arbitrary code execution in the client process.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade FreeRDP to version 3.32.2 or later, or apply any vendor-published patch that addresses the heap overflow in rpc_client_recv_fragment.
  • If an upgrade is not immediately possible, limit or block inbound connectivity to the RD Gateway RPC services to reduce the attack surface, or isolate the vulnerable FreeRDP client on a separate network segment with strict firewall rules.
  • Monitor client logs for anomalous RPC fragment sizes or repeated crashes, and alert on suspicious activity, ensuring prompt investigation if the vulnerability is suspected to be targeted.

Generated by OpenCVE AI on November 6, 2026 at 15:13 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title FreeRDP before 3.32.2 Heap Buffer Overflow via rpc_client_recv_fragment
First Time appeared Freerdp
Freerdp freerdp
Weaknesses CWE-122
CPEs cpe:2.3:a:freerdp:freerdp:*:*:*:*:*:*:*:*
Vendors & Products Freerdp
Freerdp freerdp
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 4, 2026, 6:19 PM
Reserved
Nov 4, 2026, 12:48 PM
Status
Modified
Published
Nov 4, 2026, 4:17 PM
Modified
Nov 4, 2026, 7:17 PM
Severity
Important
Public date
Nov 4, 2026, 3:33 PM