Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLure victim client to malicious RDP server
-
DeliveryCreate surfaceId 0xFFFF then close RDPGFX channel
-
ExploitSend repeated DELETESURFACE then ENDFRAME/RESETGRAPHICS
-
ExecutionOverrun undersized HashTable_GetKeys key array
-
ImpactCorrupt client heap, crash with RCE potential
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 | The victim's FreeRDP client (version <= 3.32.1) must establish an RDP session to an attacker-controlled, redirected, or man-in-the-middle server that controls the RDPGFX dynamic virtual channel ('Microsoft::Windows::RDS::Graphics'); the advisory states this triggers inside the default client connection flow with no local interaction and no non-default client configuration. The concrete trigger sequence is: create surfaceId 0xFFFF (stored under key 0x10000, which truncates to 0 in the delete callback), close the RDPGFX channel to reach free_surfaces, send repeated DELETESURFACE PDUs for already-marked ids, then send ENDFRAME or RESETGRAPHICS to force HashTable_GetKeys to traverse the now-inconsistent table. The principal limiting factor is that exploitation is not unsolicited: it requires the user to connect to a hostile server or an active MITM position on an RDP connection; it does not require any authentication to or privileges on the client. |
| Impact | This is a genuine priority for anyone running FreeRDP-based clients, but the risk profile is nuanced. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P, VC:H/VI:H/VA:H, score 8.7) describes a network-reachable, low-complexity flaw needing no client privileges, with passive user interaction and total impact to the vulnerable system. A full, working PoC server (mal_srv.c) is published in the FreeRDP GHSA advisory with confirmed reproduction (valgrind 'Invalid write of size 8' in HashTable_GetKeys, four consecutive successful runs), so a capable attacker has a ready blueprint; however this CVE is NOT in CISA KEV and no EPSS score was supplied, so there is no evidence of active or widespread exploitation. The vuln.today decision label is 'this_week' - elevated but short of act_now/emergency. The key limiting signal that tempers the high score: exploitation is not drive-by - the victim must initiate/accept a connection to an attacker-controlled, redirected, or MITM RDP server (UI:P), so this favors targeted lure/MITM scenarios over automatable mass exploitation. Note also a data conflict in the impact claim: the demonstrated behavior is a reliable client crash (heap corruption / DoS); RCE is explicitly described as 'potential (not proven),' so the VI:H/VC:H worst-case rating is not independently confirmed by a working code-execution PoC. |
| Exploit ScenarioDerived | A user is lured or redirected into connecting their FreeRDP-based client to a malicious RDP server, or an attacker holds a man-in-the-middle position on an existing RDP session. The hostile server creates surfaceId 0xFFFF, closes the RDPGFX channel, sends repeated DELETESURFACE PDUs, then sends ENDFRAME/RESETGRAPHICS, driving an 8-byte-per-element heap out-of-bounds write that reliably crashes the client and carries unproven RCE potential. A complete working PoC server is published in the GHSA advisory with confirmed, repeated reproduction. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 04, 2026
Heap out-of-bounds write in the FreeRDP RDPGFX client (through 3.32.1) lets a malicious, redirected, or man-in-the-middle RDP server corrupt client heap memory within the default client connection flow, with no authentication required on the client side and no non-default configuration needed beyond the victim connecting to the hostile server (the CVSS 3.1 vector AV:N/AC:L/PR:N/UI:R reflects that a user must initiate the session). The vendor advisory publishes a working proof-of-concept malicious server (mal_srv.c) that was reproduced on the referenced commit, ending in valgrind 'Invalid write of size 8' in HashTable_GetKeys, heap corruption, and a client exit status of 139; impact is rated integrity and availability high with confidentiality none, and the issue is prioritized for remediation this week.
RemediationAI
Apply the vendor fix referenced by the GHSA advisory (https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-m59q-wm7v-mp57); the supplied package data lists a fixed version of 3.22.2 while the vulnerable range is stated as through 3.32.1, so the exact fixed build for each branch should be confirmed against that advisory before rolling out, rather than relying on the conflicting version string alone. No configuration-level workaround is described in the available data: the advisory states the bug triggers inside the default client connection flow with no local interaction and no non-default client configuration, meaning disabling RDPGFX or similar client-side toggles is not documented as a mitigation. The only prerequisite identified is that the client connect to an attacker-controlled, redirected, or man-in-the-middle RDP server, so limiting FreeRDP client connections to trusted servers with verified certificates reduces exposure until patched builds are deployed.
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 is a CWE-122 heap-based buffer overflow rooted in the interaction between FreeRDP's RDPGFX dynamic virtual channel client (channels/rdpgfx/client/rdpgfx_main.c) and the WinPR HashTable implementation (winpr/libwinpr/utils/collections/HashTable.c). Surfaces are stored in the table under key = surfaceId + 1, so a server-supplied surfaceId of 0xFFFF is stored under 0x10000; the per-surface delete callback truncates the key with (UINT16)(uintptr_t)key, turning 0x10000 into 0, so the guard declares the still-valid surface invalid and returns FALSE. When HashTable_Foreach then takes its early-exit path, it skips the decrement of foreachRecursionLevel and the pending-removal cleanup, leaving the table in a permanently recursive state: subsequent HashTable_Remove calls from DELETESURFACE processing only mark entries and unconditionally decrement numOfElements, so the count diverges from the number of unmarked pairs. HashTable_GetKeys then sizes its calloc from the shrunken numOfElements while incrementing pKeys[iKey++] once per unmarked pair with no bounds check, writing 8-byte keys past the allocation; the overrun grows with the surface count (bounded at 65536 entries), potentially reaching hundreds of kilobytes into adjacent heap metadata and pointers. The trigger sequence is a crafted RDPGFX stream: create surfaceId 0xFFFF plus additional surfaces, close the graphics DVC to reach rdpgfx_on_close/free_surfaces, reopen the channel under a new ChannelId, send repeated DELETESURFACE PDUs for already-marked ids, then send ENDFRAME or RESETGRAPHICS to force rdpgfx_get_surface_ids via gdi_UpdateSurfaces.
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 is the malicious/MITM server needing no client privileges (PR:N) but the victim must connect to it (UI:R); demonstrated impact is reliable heap corruption/crash (I:H/A:H) with no information disclosure (C:N).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
FreeRDP through 3.32.1 has a heap out-of-bounds write in the RDPGFX client because the delete_surface callback truncates surface hash keys to 16 bits, leaving the surface table inconsistent so HashTable_GetKeys writes past its allocated key array. A malicious or man-in-the-middle RDP server can exploit this by creating surfaceId 0xFFFF, closing the RDPGFX channel, sending repeated DELETESURFACE PDUs, and then sending ENDFRAME or RESETGRAPHICS.
Technical POC Analysis
CWE-122: Heap-based Buffer Overflow (out-of-bounds write).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A high-severity memory corruption vulnerability in FreeRDP, an open-source remote desktop client widely used for RDP connectivity, can allow a malicious server to crash or corrupt the client, disrupting business operations. Organizations using FreeRDP to connect to external or untrusted RDP endpoints are at risk, and a public proof-of-concept exists, though no active exploitation has been confirmed.
No vendor-released patch identified at time of analysis. Interim mitigations include restricting FreeRDP client connections to trusted RDP servers only, implementing network-level filtering to block RDP traffic to untrusted destinations, and ensuring users do not connect to unverified RDP endpoints. Monitor vendor channels for patch availability.
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-116958
GHSA-449c-4f3m-649w
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB