
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-137460 is an invalid free vulnerability in FreeRDP's RD Gateway implementation (rdg.c) that allows a malicious RD Gateway server to crash the FreeRDP client. The root cause is a union in rdg_http_encoding_context that shares storage between the websocket_context* pointer and the chunked transfer-encoding decoder state (http_encoding_chunked_context); when chunked encoding is used, the decoder overwrites the saved pointer, and rdg_free subsequently passes an attacker-influenced value to websocket_context_free. Affected versions are FreeRDP 3.10.0 through 3.32.2 (inclusive); version 3.33.0 contains the fix. The vulnerability carries a CVSS v3.1 score of 7.5 (High) and a CVSS v4.0 score of 8.7 (High) (GitHub Advisory, Feedly).
The vulnerability is classified as CWE-843 (Access of Resource Using Incompatible Type / Type Confusion) due to the union aliasing a pointer with a numeric decoder field. Introduced in commit 4cbdd2c (FreeRDP 3.10.0), rdg_http_encoding_context stores both websocket_context* and http_encoding_chunked_context in a single union context; the chunked.nextOffset field (which holds the current chunk length received from the gateway) occupies the same memory as the websocket pointer. When the RD Gateway responds to the data channel with Transfer-Encoding: chunked, rdg_establish_data_connection initialises the chunked state and http_chuncked_read continuously updates chunked.nextOffset with gateway-supplied chunk sizes, silently overwriting the stored websocket_context*. On teardown, rdg_free calls websocket_context_free with this corrupted value, resulting in an invalid free of an attacker-controlled address and a client crash; the real websocket context is also leaked. Exploitation requires the client to connect through a gateway the attacker controls or has compromised (GitHub Advisory).
Successful exploitation causes a denial-of-service crash of the FreeRDP client process via an invalid free of an attacker-influenced memory address. There is no evidence of confidentiality or integrity impact — the CVSS scores reflect a pure availability impact. Because the vulnerability is triggered server-side (by the RD Gateway), any user connecting through a malicious or compromised gateway is affected without any action on their part, making it particularly relevant in enterprise environments where RD Gateway is used as a remote access broker (GitHub Advisory, Feedly).
No public proof-of-concept exploit code or in-the-wild exploitation has been reported as of the disclosure date. The EPSS score is 0.0, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. Exploitation requires the attacker to operate or control an RD Gateway that the victim client connects to, which limits opportunistic exploitation but is realistic in man-in-the-middle or rogue-gateway scenarios. The vulnerability was disclosed on November 26, 2026, with the CVE status listed as "Awaiting Analysis" (Feedly, GitHub Advisory).
Transfer-Encoding: chunked instead of WebSocket or identity encoding.nextOffset values (chunk sizes) are crafted to place a desired attacker-controlled value into the memory location shared with the websocket_context* pointer in the rdg_http_encoding_context union.rdg_free to be called.rdg_free calls websocket_context_free with the attacker-influenced value (derived from chunk sizes), resulting in an invalid free, crashing the FreeRDP client process (GitHub Advisory).xfreerdp, wfreerdp, or embedding applications) immediately after or during RD Gateway data channel teardown.rdg_free, websocket_context_free, or memory corruption errors in libfreerdp/core/gateway/rdg.c.Transfer-Encoding: chunked from a gateway that is not the expected corporate RD Gateway (unexpected IP or certificate mismatch).heap-use-after-free or invalid-free originating from rdg_free → websocket_context_free call chain (GitHub Advisory).Upgrade FreeRDP to version 3.33.0 or later, which fixes the vulnerability by storing websocket_context* and http_encoding_chunked_context as separate struct members rather than in a union, ensuring rdg_free always frees the correct pointer. No configuration-based workaround is available; the only effective mitigation prior to patching is to avoid connecting through untrusted or unverified RD Gateway servers and to enforce strict certificate validation for RD Gateway connections. Organizations should prioritize patching any FreeRDP deployments in the 3.10.0–3.32.2 range, particularly those used in enterprise remote access scenarios (GitHub Advisory).
The vulnerability was reported by an external researcher (credited as "Mar" in the patch commit) and disclosed responsibly through GitHub's security advisory process by FreeRDP maintainer akallabeth. The advisory was rated "Moderate" severity by the FreeRDP project despite the CVSS scores indicating High severity. No significant broader media coverage or notable social media discussion has been identified at the time of disclosure (GitHub Advisory).
Fix availability across major Linux distributions and their releases.
bionic (esm-apps)
freerdp
bionic (esm-infra)
freerdp2
devel
freerdp3
focal (esm-infra)
freerdp2
jammy
freerdp2
noble
freerdp2
noble (esm-apps)
freerdp2
resolute
freerdp3
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."