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-109950 Overview
CVE-2026-109950 is a heap out-of-bounds read vulnerability in FreeRDP, an open-source implementation of the Remote Desktop Protocol (RDP). The flaw affects FreeRDP versions 3.0.0 through 3.31.x and is fixed in 3.32.0. A malicious Remote Desktop Gateway (RD Gateway) can send consent or service messages where the MsgBytes length field exceeds the Network Data Representation (NDR) string ActualCount. When FreeRDP performs UTF-8 conversion on the string, it reads past the allocated stream buffer, crashing the client. The vulnerability is tracked under [CWE-125] (Out-of-Bounds Read) and impacts client availability.
Critical Impact
A hostile or compromised RD Gateway can crash connecting FreeRDP clients, disrupting remote desktop sessions and causing denial of service for users relying on gateway-mediated connections.
Affected Products
- FreeRDP versions 3.0.0 through 3.31.x
- FreeRDP client components that parse RD Gateway consent and service messages
- Downstream applications and distributions bundling vulnerable FreeRDP builds
Discovery Timeline
- 2026-10-13 - CVE-2026-109950 published to the National Vulnerability Database
- 2026-10-14 - Last updated in NVD database
Technical Details for CVE-2026-109950
Vulnerability Analysis
FreeRDP parses NDR-encoded strings received from an RD Gateway during session negotiation. The gateway supplies a MsgBytes field describing the size of a message segment and an NDR ActualCount describing the length of the embedded string. The client allocates a stream based on one value and iterates according to the other. When the two values diverge, with MsgBytes far larger than ActualCount, the UTF-8 conversion routine reads bytes beyond the end of the allocated stream.
The out-of-bounds read occurs in the client process memory while handling consent or service messages. The result is memory corruption that terminates the FreeRDP client. Because the parsing happens before any user-level interaction with the remote session, a single malicious response from the gateway is sufficient to crash the client.
Root Cause
The root cause is missing validation between the transport-layer length field (MsgBytes) and the NDR string length (ActualCount). FreeRDP trusted the gateway-supplied size without cross-checking it against the actual string allocation. See the GitHub Security Advisory GHSA-xf45-j844-588v for the upstream fix details.
Attack Vector
Exploitation requires a user to initiate an RDP session through an attacker-controlled or compromised RD Gateway. The attacker crafts a consent or service message with mismatched length fields. When the FreeRDP client parses the response, the UTF-8 conversion reads past the stream buffer and the process crashes. The attack is network-based but requires user action to connect to the hostile gateway. See the VulnCheck Advisory for FreeRDP for additional context.
Detection Methods for CVE-2026-109950
Indicators of Compromise
- Unexpected FreeRDP client crashes immediately after connecting through an RD Gateway
- Core dumps or Windows Error Reporting entries referencing FreeRDP stream or UTF-8 conversion routines
- Repeated failed RDP gateway handshakes followed by client process termination
Detection Strategies
- Inventory installed FreeRDP versions and flag any build older than 3.32.0
- Monitor endpoint telemetry for abnormal termination of wfreerdp, xfreerdp, or embedded FreeRDP processes
- Inspect RD Gateway traffic for malformed consent or service messages where declared lengths exceed string content
Monitoring Recommendations
- Enable crash reporting on hosts running FreeRDP-based clients and forward events to a central log platform
- Alert on repeated client disconnects from the same RD Gateway endpoint within a short time window
- Track outbound RDP gateway destinations and correlate with known-good gateway inventories
How to Mitigate CVE-2026-109950
Immediate Actions Required
- Upgrade all FreeRDP installations to version 3.32.0 or later
- Restrict RDP gateway connections to vetted, internally managed gateway hosts
- Validate the integrity and trust posture of any third-party RD Gateway before use
Patch Information
The FreeRDP project resolved the issue in version 3.32.0. Rebuild or repackage any downstream distributions, container images, or embedded applications that bundle FreeRDP against the patched release. Reference the GitHub Security Advisory GHSA-xf45-j844-588v for commit-level fix information.
Workarounds
- Avoid connecting to untrusted or externally hosted RD Gateways until patched clients are deployed
- Use direct RDP connections without gateway intermediation where network policy allows
- Terminate FreeRDP client processes and alert users if repeated crashes occur against a specific gateway
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

