Skip to main content
Vulnerability Database/CVE-2026-109947

CVE-2026-109947: FreeRDP Memory Exhaustion DOS Vulnerability

CVE-2026-109947 is a denial of service flaw in FreeRDP that allows malicious RDP servers to exhaust client memory through oversized drive redirection requests. This article covers technical details, affected versions, and mitigation.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-109947 Overview

CVE-2026-109947 is an uncontrolled resource allocation vulnerability in FreeRDP, an open-source implementation of the Remote Desktop Protocol (RDP). The flaw affects FreeRDP versions 3.20.1 through 3.31.x and is fixed in 3.32.0. A malicious RDP server can exhaust client memory by sending oversized drive redirection read requests. The vulnerability is tracked as CWE-770: Allocation of Resources Without Limits or Throttling. Exploitation requires a client to connect to an attacker-controlled server, after which an IRP_MJ_READ request with Length set to 0xffffffff triggers approximately 4 GiB of zeroed allocation on 64-bit builds, or an under-reserved buffer on 32-bit builds.

Critical Impact

A malicious RDP server can force FreeRDP clients to allocate ~4 GiB of memory per request, causing client-side denial of service and potential memory corruption on 32-bit builds.

Affected Products

  • FreeRDP 3.20.1 through 3.31.x (64-bit builds)
  • FreeRDP 3.20.1 through 3.31.x (32-bit builds, with under-reserved buffer behavior)
  • Downstream distributions and applications bundling vulnerable FreeRDP 3.x releases

Discovery Timeline

  • 2026-10-13 - CVE-2026-109947 published to NVD
  • 2026-10-14 - Last updated in NVD database

Technical Details for CVE-2026-109947

Vulnerability Analysis

FreeRDP implements drive redirection through the rdpdr (Remote Desktop Protocol Device Redirection) channel. The channel processes I/O Request Packets (IRPs) sent by the server, including IRP_MJ_READ requests that specify how many bytes the server wants to read from a redirected drive. The vulnerable code path trusts the server-supplied Length field without validating it against a reasonable upper bound.

When a malicious server sends IRP_MJ_READ with Length = 0xffffffff (4,294,967,295 bytes), the client allocates and zero-initializes a buffer of that size. On 64-bit systems the allocation succeeds and consumes approximately 4 GiB of memory per request, enabling trivial memory exhaustion. On 32-bit systems the arithmetic produces an under-reserved buffer, which creates conditions for out-of-bounds writes during subsequent processing.

Root Cause

The root cause is missing input validation on the Length parameter extracted from the server-sent IRP. The drive-redirection IRP handler fails to bound-check the requested read size against available memory, file size, or a configured maximum before passing it to the allocator. This maps directly to CWE-770.

Attack Vector

Exploitation requires the victim to initiate an RDP session to an attacker-controlled server, satisfying the user-interaction requirement in the CVSS vector. Once the drive-redirection channel is negotiated, the server sends a crafted IRP_MJ_READ message with Length = 0xffffffff. The client allocates ~4 GiB per request on 64-bit builds. Repeated requests cause process termination or system-wide memory pressure. On 32-bit builds, the resulting under-reserved allocation can be followed by buffer overrun during read processing.

Technical details are documented in the FreeRDP GHSA-q56j-jjh6-38jf advisory and the VulnCheck advisory on unbounded allocation via drive IRP read.

Detection Methods for CVE-2026-109947

Indicators of Compromise

  • RDP client processes (xfreerdp, wlfreerdp, or embedded FreeRDP consumers) with resident memory growth exceeding 2 GiB shortly after session establishment
  • Client process crashes or OOM-killer events (oom_reaper in kernel logs) correlated with outbound RDP sessions
  • Outbound RDP connections (TCP/3389) to untrusted or newly observed destinations immediately preceding memory anomalies

Detection Strategies

  • Inventory installed FreeRDP binaries and libraries, flagging any version in the range 3.20.1 through 3.31.x
  • Correlate per-process memory usage spikes with active RDP sessions to detect in-progress exploitation
  • Alert on repeated FreeRDP process restarts on the same host within short time windows

Monitoring Recommendations

  • Enable process-level telemetry (memory, crash events, parent-child relationships) for RDP client binaries
  • Log and review outbound RDP destinations, prioritizing connections to non-corporate IP ranges
  • Monitor system logs for allocation failures and OOM events on workstations that routinely use RDP

How to Mitigate CVE-2026-109947

Immediate Actions Required

  • Upgrade FreeRDP to version 3.32.0 or later on all workstations, jump hosts, and container images
  • Rebuild and redistribute any downstream applications or packages that statically link or vendor FreeRDP 3.x
  • Restrict outbound RDP (TCP/3389) from endpoints to approved internal destinations until patching is complete

Patch Information

FreeRDP maintainers released version 3.32.0, which adds bounds checking on the Length field of IRP_MJ_READ requests in the drive-redirection channel. Review the FreeRDP GHSA-q56j-jjh6-38jf advisory for the fix commit and backport guidance. Linux distributions and application vendors shipping FreeRDP should pull the fixed version into their next security update.

Workarounds

  • Disable drive redirection in FreeRDP client invocations by omitting the /drive and /drives command-line options
  • Only connect to trusted RDP servers; avoid connecting to servers controlled by untrusted parties, including public demo endpoints
  • Where feasible, run FreeRDP inside a resource-limited sandbox or container with a hard memory cap to contain allocation abuse
bash
# Verify installed FreeRDP version and confirm it is 3.32.0 or later
xfreerdp --version

# Example: launch FreeRDP without drive redirection as a temporary workaround
xfreerdp /v:rdp.example.internal /u:alice
# (note: no /drive: argument is passed, so no local drives are redirected)

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.