Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconVictim connects to malicious RDP server
-
DeliveryRDP handshake completes (ACTIVE state)
-
ExploitSend ResetGraphics PDU with 32766×32766 dimensions
-
InstallThird planar buffer reallocation fails; oversized geometry already committed to context
-
C2Send crafted GFX PLANAR command
-
ExecuteDecode steps through stale undersized heap buffer with new oversized stride
-
ImpactHeap OOB write and NULL-pointer write crash client process
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires three concurrent conditions. First, the FreeRDP client must have negotiated the GFX pipeline (via /gfx flag or equivalent capability negotiation during RDP handshake). Second, the client's virtual address space must be in the exploitable allocation window: the first two planar buffer reallocations in freerdp_bitmap_planar_context_reset must succeed (each approximately 4 GiB) while the third (approximately 6 GiB) fails; on systems where all four allocations succeed (RLIMIT_AS ≥ ~18 GiB), the codec resets cleanly and no corruption occurs; on systems where the first GDI buffer allocation fails (RLIMIT_AS ≤ ~4 GiB), the error propagates before the vulnerable decode path is reached. Third, the victim user must actively connect to the attacker-controlled server; passive network exposure alone is insufficient. No server-side authentication or privilege is required - any server that has completed the standard RDP handshake can deliver the malicious ResetGraphics and GFX PLANAR PDU sequence without further authorization. |
| Impact | The CVSS 4.0 score of 7.1 (AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N) positions this as a high-severity network vulnerability. Two scoring discrepancies warrant explicit note: the VA:N (no availability impact) contradicts the PoC-confirmed segmentation fault - the CVSS scorer appears to have recorded only the most severe plausible post-corruption outcome (code execution via heap spray, VC:H) while omitting the directly observed crash impact (VA:H); and AT:N understates a real exploitability constraint - the heap out-of-bounds write triggers only when the client's virtual address space allows the first two planar buffer reallocations (~4 GiB each) to succeed but the third (~6 GiB) to fail, a window that maps to systems with roughly 8-14 GiB available virtual memory and is realistic but not universal on typical consumer hardware. No EPSS score was supplied. The vulnerability is not listed in the CISA KEV, so exploitation is not confirmed active. A full, working proof-of-concept server is confirmed in the GitHub GHSA advisory, lowering the bar for motivated adversaries. The vuln.today decision label is 'this_week', indicating elevated but non-emergency priority. The user-interaction requirement - victim must connect to an attacker-controlled RDP server - is a meaningful barrier to mass exploitation, though adversary-in-the-middle or social-engineering campaigns reduce that barrier materially for targeted attacks. In sum: a real, PoC-confirmed client-side heap corruption with confirmed crash and plausible code execution potential, constrained by a specific memory allocation failure window and requiring user initiation of the RDP connection. |
| Exploit ScenarioDerived | An attacker operates a malicious RDP server and lures or redirects a FreeRDP client user into connecting via social engineering or network interception; a publicly available PoC server implementing the full attack sequence is confirmed in the GHSA advisory. After the RDP handshake completes, the server sends a ResetGraphics PDU with 32766×32766 dimensions, causing the planar codec to commit the new oversized geometry to context state before the third buffer reallocation (~6 GiB) fails; the first two allocations succeed and the stale undersized buffers remain. The server then sends a crafted GFX PLANAR command whose decode path steps through the old buffers using the new oversized stride (nTempStep = 32768×4 bytes), producing a heap out-of-bounds write into pTempData and a NULL-pointer write through the dangling deltaPlanes pointer, crashing the client with a segmentation fault in planar.c writeLine. |
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 and a NULL-pointer write in the FreeRDP client's GFX planar codec (3.32.1 and earlier) let a malicious RDP server corrupt client heap memory and crash the client process during an otherwise ordinary session. The server sends an oversized ResetGraphics PDU (roughly 32766x32766) so that freerdp_bitmap_planar_context_reset commits the new maxWidth/maxHeight/nTempStep before its buffer reallocations fail, and the failure is only logged; a following GFX PLANAR command is then decoded with the new stride against the stale, smaller pTempData/rlePlanesBuffer. Exploitation is constrained: the client must have negotiated the GFX pipeline, the victim must actively connect to the attacker-controlled server, and the client address space must sit in a narrow allocation window where the ~4 GiB buffers succeed and the ~6 GiB allocation fails - a public proof-of-concept reproducer with a malicious server is published in the upstream GHSA, and the available sources do not report confirmed active exploitation.
RemediationAI
Vendor-released patch: upgrade FreeRDP to 3.32.2 or later (fixed from 3.32.1 onward); the fix is documented in GHSA-fg78-v8j5-8697 and the VulnCheck advisory, so distribution packages and vendored copies of libfreerdp must be rebuilt against 3.32.2. Where an immediate upgrade is not possible, the actionable compensating control is to stop the client from negotiating the GFX pipeline at all - launching xfreerdp/wlfreerdp without the /gfx option (or with GFX disabled) removes the rdpgfx ResetGraphics/PLANAR path entirely; the trade-off is loss of the RemoteFX/GFX rendering path and the bandwidth/performance benefits it provides, with a fallback to legacy bitmap updates. Because the corruption is confined to clients whose address space fails the third planar reallocation while the earlier ones succeed, constraining the client process address space low enough that the primary GDI buffer allocation fails makes the reset fail early and the decode return without a crash, but that is a fragile, deployment-specific mitigation and not a substitute for patching. Note that clients still need to connect to a trusted RDP endpoint; connecting to attacker-controlled servers is the delivery vector, and no server-side authentication requirement limits this path once the RDP handshake completes.
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's planar codec (libfreerdp/codec/planar.c) is the RemoteFX/GFX PLANAR decoder used by the client's GDI surface path: rdpgfx_recv_reset_graphics_pdu -> gdi_ResetGraphics -> freerdp_client_codecs_reset -> freerdp_bitmap_planar_context_reset. The reset function writes new geometry (maxWidth, maxHeight, maxPlaneSize, nTempStep) and clears the planes/rlePlanes/deltaPlanes pointer arrays before it recallocs the four backing buffers; if an allocation fails it returns FALSE, but callers only propagate or log the error (codecs.c, gfx.c, rdpgfx_main.c uses WLog_ERR, drdynvc keeps looping), so the context is left with new dimensions over old, smaller buffers and NULL pointer-array entries. The subsequent GFX PLANAR surface command decoded via gdi_SurfaceCommand_Planar reaches planar_decompress_plane_rle / planar_decompress_planes_raw (writeLine) and planar_subsample_expand, which step and write using the new dimensions into the stale allocation, yielding a CWE-787 out-of-bounds write (and a NULL write on the chroma sub-sampling path via a deltaPlanes pointer left NULL). The flaw is a non-atomic state update on a failed reset rather than a parsing bug; the trigger requires the GFX dynamic channel (drdynvc/rdpgfx) to be negotiated and the client's virtual address space to fail exactly the third ~6 GiB reallocation, so systems with RLIMIT_AS around 18 GiB or more reset cleanly, and systems at ~4 GiB fail the primary GDI buffer first and return early without reaching the vulnerable decode.
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:N/VA:N/SC:N/SI:N/SA:N
AC:H because exploitation requires a specific virtual address space window (~8-14 GiB) where only the third planar buffer allocation fails; C:H/I:H/A:H because confirmed heap OOB write enables crash (A:H) and plausible code execution (C:H/I:H), consistent with VC:H in the vendor-scored CVSS 4.0 vector.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
FreeRDP before 3.32.2 has a heap out-of-bounds write in the planar codec because freerdp_bitmap_planar_context_reset commits new dimensions before buffer reallocation succeeds, and a failed ResetGraphics is only logged. A malicious RDP server can send an oversized ResetGraphics PDU, then a GFX PLANAR command, to corrupt client heap memory and crash the client.
Technical POC Analysis
Heap out-of-bounds write (CWE-787), with a secondary NULL-pointer write, in FreeRDP's GFX planar codec.
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 heap corruption vulnerability in FreeRDP clients (version 3.32.1 and earlier) can be triggered when connecting to a malicious RDP server, potentially crashing the client and corrupting memory. While exploitation requires specific conditions, the risk is elevated for remote and hybrid workers who regularly connect to external RDP endpoints, and no vendor patch is currently available.
No vendor-released patch identified at time of analysis; interim mitigations include restricting outbound RDP connections to trusted servers, monitoring for client crashes, and disabling the GFX pipeline if operationally feasible.
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.
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.
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-116954
GHSA-gm6q-vf9r-pj34
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB