Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2026-121964

Опубликовано: 04 нояб. 2026
Источник: redhat
CVSS3: 8.8
EPSS Низкий

Описание

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.

A flaw was found in FreeRDP. A compromised or malicious Remote Desktop (RD) Gateway server can send specially crafted Remote Procedure Call (RPC) network messages to a connecting client. Because the client verifies total buffer capacity instead of remaining buffer space before writing incoming data, client heap memory can be overwritten. An attacker can exploit this flaw to potentially execute arbitrary code or crash the client application, resulting in a Denial of Service (DoS).

Отчет

This vulnerability is rated as Important because successful exploitation enables a compromised Remote Desktop Gateway to corrupt heap memory and potentially achieve arbitrary code execution with the permissions of the client user. Exploitation requires user initiation by connecting through an untrusted gateway, preventing unauthenticated remote attackers from triggering the vulnerability independently. Furthermore, standard direct RDP connections that do not route traffic through RD Gateway RPC transport are not exposed to this flaw.

Меры по смягчению последствий

Limit FreeRDP connections strictly to trusted Remote Desktop Gateways and ensure server certificate verification is enforced. Operational controls:

  1. Avoid routing RDP connections through untrusted or unverified RD Gateways (do not supply untrusted hosts to the /g: or /gw: parameters).
  2. Connect directly to target RDP servers, utilizing a trusted VPN rather than an intermediate RD Gateway where feasible.
  3. Ensure strict TLS certificate validation is maintained; do not supply the /cert:ignore option on the command line or disable certificate validation in connection profiles. If FreeRDP client functionality is not required on the system, remove the package:

dnf remove freerdp

Caveats: Removing the freerdp package may also remove dependent desktop packages or graphical remote desktop clients (such as GNOME Connections or Remmina). --- CME Mitigation Guidance (2026-11-06) --- Disclaimer: The following mitigation solutions are provided as a courtesy, pending the application of an official patch. This content was generated utilizing AI tools in conjunction with data from https://cmetaxonomy.org. Customers are advised to independently evaluate and test these temporary mitigations within their own infrastructure. The highest-value action is to enforce remaining stream buffer capacity validation rather than total capacity checks in the FreeRDP RD Gateway RPC client during fragment processing: upgrade to FreeRDP 3.32.2 (or the fixed Freerdp builds), which verify remaining buffer capacity from the current stream offset instead of total capacity before writing incoming RPC fragments, closing all 2 injection vectors (crafted RPC BIND_ACK fragments, crafted RPC ALTER_CONTEXT_RESP fragments). Until patched, this is only a concern on FreeRDP client connections routed through an RD Gateway — Direct RDP connections not routed through RD Gateway RPC transport are unaffected — so Avoid routing RDP connections through untrusted RD Gateways, connect directly over trusted VPNs instead of intermediate gateways, and maintain strict TLS certificate validation by avoiding cert:ignore options. As a compensating measure, Enable ASLR to randomize FreeRDP memory addresses and complicate reliable exploitation following heap corruption, Enforce Full RELRO and PIE to prevent Global Offset Table overwrites and randomize code segment locations, Use Control Flow Integrity or Shadow Call Stack to validate indirect call targets against function pointer hijacking, Deploy EDR agents to monitor and detect anomalous process execution or memory injection spawned from the FreeRDP process, and Enforce NX/XD non-executable memory protections on the heap to prevent execution of injected payload code. These controls limit blast radius and contain exploitation, but they do not fix the underlying heap-based buffer overflow defect — apply the upstream patch to fully remediate. Highest-impact CME: CME-404 Certificate Pinning (high)

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 6freerdpNot affected
Red Hat Enterprise Linux 7freerdpAffected
Red Hat Enterprise Linux 8freerdpAffected
Red Hat Enterprise Linux 9freerdpAffected
Red Hat Enterprise Linux 10freerdpFixedRHSA-2026:9451403.11.2026
Red Hat Enterprise Linux 10freerdpFixedRHSA-2026:9859811.11.2026

Показывать по

Дополнительная информация

Статус:

Important
Дефект:
CWE-122
https://bugzilla.redhat.com/show_bug.cgi?id=2567871freerdp: freerdp: Arbitrary code execution via RD Gateway RPC client heap buffer overflow

EPSS

Процентиль: 48%
0.00573
Низкий

8.8 High

CVSS3

Связанные уязвимости

CVSS3: 7.5
ubuntu
15 дней назад

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.

CVSS3: 7.5
nvd
14 дней назад

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.

CVSS3: 7.5
msrc
2 дня назад

FreeRDP before 3.32.2 Heap Buffer Overflow via rpc_client_recv_fragment

CVSS3: 7.5
debian
14 дней назад

FreeRDP before 3.32.2 contains a heap-based buffer overflow in the RD ...

CVSS3: 7.5
github
14 дней назад

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.

EPSS

Процентиль: 48%
0.00573
Низкий

8.8 High

CVSS3