Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker operates rogue RDP gateway server
-
DeliveryLure or redirect victim FreeRDP client to connect via gateway
-
ExploitClient initiates RPC bind handshake
-
ExecutionServer returns crafted bind_ack with oversized max_xmit_frag or max_recv_frag
-
PersistHeap buffer overflow triggered in rpc_recv_bind_ack_pdu
-
ImpactArbitrary code execution on client
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
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 that the victim FreeRDP client be configured to connect through an RDP gateway (RPC-over-HTTP mode) rather than via a direct RDP connection - the vulnerable |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N) scores 8.7, reflecting network accessibility, low attack complexity, no privilege requirement, passive user interaction, and high impact on all three CIA triad components. The UI:P metric is the primary limiting factor - the victim must initiate an RDP gateway connection to an attacker-controlled endpoint, ruling out purely opportunistic mass scanning. No EPSS data was provided; exploitation probability must therefore be inferred from structural signals alone. The vulnerability is not listed in CISA KEV, and no public exploit or proof-of-concept code has been identified at time of analysis. While the heap overflow primitive in an RPC parsing context is a serious bug class, reliable exploitation to achieve code execution typically requires additional heap layout engineering, moderating the immediate exploitation risk relative to the raw CVSS score. For organizations whose users connect to external RDP gateways - particularly in managed IT, VDI, or remote-work environments - the risk is meaningfully elevated. No conflicting signals between CVSS metrics and the described vulnerability behavior are observed. |
| Exploit ScenarioDerived | An attacker establishes a rogue RDP gateway server and routes a FreeRDP client user to it via phishing, DNS hijacking, or a compromised network path. During the RPC bind acknowledgment phase of the gateway handshake, the malicious server sends a crafted bind_ack PDU containing |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Aug 19, 2026
Heap-based buffer overflow in FreeRDP's RPC-over-HTTP gateway handler allows a malicious or compromised RDP gateway server to corrupt heap memory on a connecting client by sending an oversized fragment size value in a bind_ack PDU response. Affected are FreeRDP versions prior to 3.27.0 upstream and Alpine Linux freerdp prior to 3.27.1-r0. With a CVSS 4.0 score of 8.7 (High) and High impacts across confidentiality, integrity, and availability, exploitation could lead to arbitrary code execution on the client - no public exploit has been identified at time of analysis and the vulnerability is not currently listed in CISA KEV.
Earlier versions of this analysis (1)
FreeRDP, the open-source Remote Desktop Protocol implementation packaged for Alpine Linux, contains an unspecified vulnerability addressed in version 3.27.1-r0. The nature of the flaw - whether it affects the client, server, or shared libraries - is not disclosed in available intelligence. No CVSS score, CWE classification, or technical description has been published, making authoritative impact assessment impossible at this time. No public exploit or CISA KEV listing has been identified.
RemediationAI
Upgrade FreeRDP to version 3.27.0 or later using the upstream release at https://github.com/FreeRDP/FreeRDP/releases/tag/3.27.0. Alpine Linux users should update the freerdp package to 3.27.1-r0 or later via the standard package manager. For environments where an immediate upgrade is not feasible, the most effective compensating control is to disable RDP gateway (RPC-over-HTTP) connections entirely - this prevents the vulnerable rpc_recv_bind_ack_pdu code path from being reached; the trade-off is loss of gateway-mediated RDP connectivity. Additionally, restrict FreeRDP clients to connecting only to known, trusted, and network-controlled RDP gateway endpoints using firewall rules or host-based allowlists, reducing exposure to rogue server injection via DNS or BGP manipulation. Do not rely on these controls as a permanent substitute for patching. See the upstream security advisory at https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-7rp4-66mc-j9vx for further guidance.
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
FreeRDP is a widely used open-source implementation of Microsoft's Remote Desktop Protocol. The flaw resides in libfreerdp/core/gateway/rpc_bind.c, specifically in the rpc_recv_bind_ack_pdu function, which processes the RPC bind acknowledgment PDU exchanged during RDP gateway (RPC-over-HTTP) session setup. Prior to the fix, the max_xmit_frag and max_recv_frag fields received from the server were not range-validated before being used to drive subsequent heap allocations or buffer operations. The patch (commit a863ef1cf1cdabf9019280e5658f806e73bb50e8, PR #12873) introduces a hard upper bound of 0x0FF8 (4088 bytes) for both fragment size fields, rejecting any bind_ack PDU that exceeds this limit. CWE-122 (Heap-based Buffer Overflow) confirms the root cause class: attacker-controlled field values that exceed the intended heap buffer boundary, enabling heap corruption. The code path is only reachable when the FreeRDP client uses RDP gateway mode (RPC-over-HTTP), not during direct RDP connections.
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:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Attacker controls the server requiring no privileges; user must initiate gateway connection (UI:R); scope unchanged as impact is confined to the client process.
Primary rating from Vendor (vendor:alpine).
CVSS VectorVendor: vendor:alpine
Lifecycle Timeline
3DescriptionCVE.org
Alpine Linux: freerdp fixed in 3.27.1-r0
Executive ViewAI
FreeRDP versions before 3.27.0 contain a heap buffer overflow exploitable by a compromised gateway server to achieve arbitrary code execution on clients-no public exploit identified at time of analysis. Organizations using FreeRDP for remote infrastructure access face elevated endpoint risk in the absence of a vendor patch.
No vendor-released patch identified at time of analysis. Implement network segmentation to isolate RDP gateway infrastructure from critical internal systems; restrict RDP gateway access to whitelisted administrative hosts only; disable RPC-over-HTTP support on FreeRDP clients if operational requirements permit; monitor gateway systems for unusual activity indicating potential exploitation; prioritize patching to FreeRDP 3.27.0 or later (upstream) or 3.27.1-r0 or later (Alpine) immediately upon vendor release.
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
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.
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-62664
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB