Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLure client to malicious RD Gateway
-
DeliveryAnswer data channel with chunked encoding
-
ExploitSend crafted chunk-size values
-
ExecutionOverwrite unioned websocket pointer
-
ImpactInvalid free in rdg_free crashes client
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Type safety enforcement
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the victim to connect through an RD Gateway controlled by (or impersonated by) the attacker, AND that gateway must answer the data-channel connection with HTTP Transfer-Encoding: chunked - the code path (rdg_establish_data_connection → http_chuncked_read) that aliases the websocket_context pointer with chunked.nextOffset only runs under chunked encoding. The affected client must be FreeRDP 3.10.0 through 3.32.2 (the vulnerable union was introduced in 3.10.0, commit 4cbdd2c17). Key LIMITING factors not captured by PR:N/UI:N: the attacker cannot reach an arbitrary client unsolicited - the victim must initiate an RDP session that traverses the attacker's gateway (or the attacker must hold a man-in-the-middle position on that path), and impact is confined to crashing the client (denial of service), with no confidentiality or integrity effect per the advisory. |
| Impact | This is a client-side denial-of-service bug (CWE-843 type confusion leading to an invalid free) that is real but should be prioritized on its mechanics, not its 8.7 number. The vendor CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) scores only availability impact (VA:H; VC:N/VI:N - no confidentiality or integrity), so the 'High' rating reflects a reliable crash, not code execution. The critical caveat the raw vector hides: exploitation requires the victim FreeRDP client to connect through a MALICIOUS or attacker-controlled RD Gateway that answers the data channel with chunked transfer encoding - i.e. this is a malicious-server/gateway scenario, not an unauthenticated internet-facing service flaw, so PR:N/UI:N overstates reachability against a normal deployment. vuln.today assigns a 'this_week' (not act_now/emergency) priority, consistent with a DoS. No EPSS score was provided in the input and the CVE is NOT in CISA KEV; there is no confirmed working exploit - the GHSA advisory ships the fix patch, not an exploit. Net: a genuine, verifiable DoS worth patching on a normal cycle, but materially lower real-world urgency than an RCE, because the attacker must first occupy the gateway position in the victim's connection path. |
| Exploit ScenarioDerived | A victim's FreeRDP client (3.10.0-3.32.2) connects to an RDP host via an RD Gateway that the attacker controls or has positioned themselves as. The gateway answers the data channel with Transfer-Encoding: chunked, and its chosen chunk-size values overwrite the unioned websocket_context pointer; on teardown rdg_free passes that attacker-influenced value to websocket_context_free, which dereferences and frees it, crashing the client. No public working exploit is identified at time of analysis, though the GHSA advisory publicly documents the root cause and includes the fix patch. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 26, 2026
FreeRDP clients from 3.10.0 through 3.32.2 can be terminated by a malicious or impersonated RD Gateway that answers the data-channel connection with HTTP Transfer-Encoding: chunked. The chunked decoder state was placed in a union with the saved websocket_context pointer, so gateway-supplied chunk sizes overwrite that pointer and rdg_free later passes an attacker-influenced value to websocket_context_free, causing an invalid free and a client crash while the real websocket context is leaked. The attacker cannot reach a client unsolicited: the victim must initiate an RDP session that traverses the attacker's gateway (or the attacker must hold a man-in-the-middle position on that path), and the assessed impact is denial of service only, with no confidentiality or integrity effect; no public exploit code has been identified at time of analysis, and the vendor advisory publishes a source patch rather than exploit tooling.
RemediationAI
Upgrade to FreeRDP 3.33.0, the first release containing the fix, which replaces the union in rdg_http_encoding_context with separate chunked and websocket members so the websocket context is never aliased by chunked decoder state. For builds tracking master, the advisory at https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-pq35-c472-69w2 includes the exact patch (12 insertions, 15 deletions in libfreerdp/core/gateway/rdg.c) intended to be applied with git am so authorship is preserved; patched trees were validated with an ASan+UBSan debug build. The advisory documents no configuration workaround beyond updating, and because the aliasing path is driven entirely by the gateway's choice of Transfer-Encoding, there is no client-side switch that disables it. Residual risk reduction therefore depends on exposure: restrict FreeRDP clients to RD Gateways you control or have explicitly trusted, since exploitation requires the victim's session to traverse an attacker-operated or impersonated gateway or an attacker-in-the-middle position on that path, and note that this is a scoping control with no effect once a rogue gateway is reachable. Because impact is confined to a client crash, prioritize patching internet-facing or third-party-gateway deployments first; the current priority assessment places remediation within this week rather than as an emergency.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw lives in the RD Gateway client implementation, libfreerdp/core/gateway/rdg.c. The rdg_http_encoding_context structure stored a union whose members were the chunked transfer-encoding decoder state (http_encoding_chunked_context) and a websocket_context pointer, even though the websocket context is allocated once in rdg_new and freed unconditionally in rdg_free regardless of which transport is actually in use. This union was introduced in FreeRDP 3.10.0 (commit 4cbdd2c17). When rdg_establish_data_connection sees the gateway select Transfer-Encoding: chunked, it initialises the chunked decoder state and http_chuncked_read repeatedly updates it, including chunked.nextOffset, which holds the current chunk length sent by the gateway; because that storage is shared with the saved websocket pointer, the pointer is progressively replaced by attacker-controlled chunk-size values. On teardown, rdg_free hands that value to websocket_context_free, which dereferences and frees it, producing an invalid free and a crash while the genuine websocket context leaks. CWE-843 (access of a resource using an incompatible type) is the correct classification: one memory location is interpreted as two different types depending on the transport, and the code path that performs the aliasing only runs when the gateway answers the data channel with chunked encoding. The upstream fix removes the union and keeps the two as independent struct members so rdg_new/rdg_free own the websocket context independently of the encoding in use.
Know when Freerdp gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Malicious gateway needs no privileges (PR:N) and trivially controls chunk sizes (AC:L), but the victim must initiate a session through it (UI:R); crash-only, so C:N/I:N and A:H.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
FreeRDP from 3.10.0 before 3.33.0 contains an invalid free vulnerability in rdg.c because the websocket context pointer shares a union with chunked transfer-encoding decoder state. A malicious RD Gateway answering the data channel with chunked encoding can control the overwritten pointer via chunk sizes, causing rdg_free to free an attacker-influenced value and crash the client.
Technical POC Analysis
CWE-843 (type confusion) as scored by the CVE record; the advisory itself lists no CWE and rates it Moderate.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
FreeRDP clients versions 3.10.0 through 3.32.2 are vulnerable to a denial-of-service condition when connecting to a malicious or impersonated RD Gateway. An attacker-controlled gateway can crash the client, impacting remote workers and service desk operations that rely on FreeRDP. Leadership should prioritize mitigation due to the potential for disruption, though no data breach risk exists.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Use-after-free in FreeRDP xf_clipboard_format_equal before 3.23.0. Clipboard format comparison uses freed memory. Fifth
Use-after-free in FreeRDP xf_AppUpdateWindowFromSurface before 3.23.0. Surface-to-window update triggers memory corrupti
Use-after-free in FreeRDP xf_SetWindowMinMaxInfo before version 3.23.0. X11 client window management triggers memory cor
Use-after-free in FreeRDP xf_cliprdr_provide_data clipboard handling before 3.23.0. Clipboard data exchange triggers mem
FreeRDP IRP thread handler has a use-after-free where the IRP is freed by Complete() then accessed on the error path. Fi
FreeRDP drive read heap overflow when server-controlled read length exceeds IRP output buffer. Fixed in 3.20.1. PoC avai
FreeRDP client before 3.20.1 has a heap buffer overflow in AUDIN format processing. A malicious RDP server can corrupt m
Use-after-free in FreeRDP xf_AppUpdateWindowFromSurface before 3.23.0. Different code path from CVE-2026-25953. PoC and
FreeRDP is a free implementation of the Remote Desktop Protocol. Rated critical severity (CVSS 9.8), this vulnerability
FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Rated critical
FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Rated critical
FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Rated critical
EUVD-2026-136614
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB