Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessVictim connects to malicious RDP server
-
DeliveryServer drives session to ACTIVE with RDPGFX channel
-
ExploitSend ResetGraphics on drdynvc thread
-
ExecutionConcurrently send 32bpp planar bitmaps on main thread
-
PersistRace reset against planar decoder
-
ImpactHeap use-after-free / OOB read-write in client
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V15 - Secure Coding and Architecture Concurrency control, locking
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires the FreeRDP client to establish a session to an attacker-controlled or man-in-the-middled RDP server and reach the ACTIVE state with an RDPGFX dynamic virtual channel open - this is the default configuration and needs no post-connection user interaction. The server must then interleave RDPGFX ResetGraphics PDUs (dispatched on the drdynvc thread) with legacy or FastPath compressed planar bitmap updates of bpp>=32 (YCoCg/cll=1) sent on the main thread, so that freerdp_bitmap_planar_context_reset frees/reallocates the shared BITMAP_PLANAR_CONTEXT buffers while freerdp_bitmap_decompress_planar is still reading/writing them. Key limiting factors: the victim must initiate (or be coerced into) the outbound connection to a hostile server rather than the attacker reaching the client directly; success depends on winning a narrow, timing-dependent heap race, so exploitation is probabilistic; affected versions are FreeRDP <= 3.32.1, fixed in 3.32.2. |
| Impact | Signals point to a moderate-to-high but not emergency priority. The vendor CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) rates it 8.7 by treating it as trivially reachable network exploitation, yet the GHSA advisory itself describes a timing-dependent race with a 'narrow failure window', so the real-world attack complexity is higher than AT:N/AC:L implies - the published reproducer did win on the first attempt, but reliability against diverse heap states and CPU scheduling is unproven. A second internal conflict: the vendor vector claims VC:H (confidentiality) with VI:N/VA:N, while the advisory states the affected asset is 'the integrity of the client process heap memory' and the only demonstrated outcome is a SIGSEGV crash (an availability/integrity impact, with at most limited OOB-read confidentiality exposure) - the VC:H/VI:N/VA:N labeling appears inconsistent with the described mechanism and should be verified with the vendor. This is a client-side flaw: a user must connect to a malicious or compromised RDP server, which lowers mass-exploitation potential relative to a server-side pre-auth bug. There is no EPSS score in the supplied data and the CVE is not listed in CISA KEV, so there is no evidence of active exploitation; the only concrete exploitation signal is the detailed public proof-of-concept in the advisory. The vuln.today decision label is 'this_week', consistent with a credible, reproducible client memory-corruption bug that is not under active mass exploitation. |
| Exploit ScenarioDerived | A user is lured or redirected into connecting their FreeRDP-based client to an attacker-controlled (or man-in-the-middled) RDP server. Once the session reaches the ACTIVE state with an RDPGFX dynamic virtual channel open, the server interleaves RDPGFX ResetGraphics PDUs on the drdynvc thread with 32-bpp YCoCg compressed planar bitmap updates on the main thread, racing the planar context reset against the decoder to free and reuse shared buffers. A working proof-of-concept reproducer (mal_server.py plus reproduce.sh) is published in the GHSA advisory and reportedly reproduces the crash on its first attempt. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 04, 2026
Heap use-after-free in FreeRDP clients through 3.32.1 allows a malicious or man-in-the-middled RDP server to corrupt client process memory by racing an RDPGFX ResetGraphics PDU (handled on the drdynvc thread) against a concurrently decoded planar bitmap of 32 bpp or higher with YCoCg (cll=1) on the main thread, so the shared BITMAP_PLANAR_CONTEXT buffers are freed/reallocated while the decoder is still writing through them. No credentials are needed beyond a normal session (PR:N, UI:N), but success depends on winning a narrow, timing-dependent heap race (assessed AC:H), so exploitation is probabilistic and the practical outcome is a client crash or heap corruption - the upstream advisory includes a published reproducer that triggers the fault on the first attempt. The issue is not listed in CISA KEV; no confirmed active exploitation is reported at time of analysis, and the vendor fix is FreeRDP 3.32.2.
RemediationAI
Upgrade FreeRDP to 3.32.2 or later, as directed by the upstream security advisory at https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-xjhw-2r55-m95g; the change adds synchronization between the drdynvc ResetGraphics path and the main-thread planar decode, and no vendor workaround is documented in the available sources - updating is the only complete fix. Because the flaw is triggered by the server rather than the client, exploitation requires the victim's client to connect outbound to an attacker-controlled or intercepted RDP endpoint, so exposure can be reduced by restricting client connections to known-good RDP hosts and by avoiding untrusted or unverified servers until the upgrade is deployed; that restriction is an exposure control, not a code-level mitigation, and leaves the race reachable from any allowed hostile endpoint. Where the advisory's fix version must be reconciled with package metadata claiming 3.22.2, confirm the shipped build actually contains the upstream patch rather than relying on the version string alone, and note that a published reproducer (malicious RDP server interleaving ResetGraphics with FastPath planar bitmaps, plus a UAF guard) makes regression testing of the upgraded client straightforward.
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 root cause is a missing synchronization primitive (CWE-362, race condition) over a single shared BITMAP_PLANAR_CONTEXT in libfreerdp. Incoming dynamic virtual channel data is dispatched on a dedicated drdynvc thread (drdynvc_virtual_channel_client_thread -> drdynvc_order_recv -> dvcman_call_on_receive), so the RDPGFX callback rdpgfx_recv_reset_graphics_pdu invokes gdi_ResetGraphics off the main thread; that path calls freerdp_client_codecs_reset on the main-thread codecs object, which reaches freerdp_bitmap_planar_context_reset in libfreerdp/codec/planar.c and unconditionally updates maxWidth/maxHeight/maxPlaneSize/nTempStep before recalloc'ing the pTempData/planesBuffer allocations. Meanwhile the main thread may be inside gdi_Bitmap_Decompress -> freerdp_bitmap_decompress_planar -> planar_decompress_planes_raw -> writeLine, reading and writing those same fields and buffers with no lock held. Neither path takes a lock, so the reset can free or resize the buffers underneath an in-flight decode, yielding a write-after-free through a dangling pTempData pointer (the reproducer's guard confirms the fault address falls inside a just-freed 6*maxPlaneSize allocation) or an out-of-bounds access when the old buffer is sized against a newly written maxWidth. The advisory states this is reachable in the default client configuration once the session is ACTIVE with an RDPGFX DVC open; the trigger requires specifically interleaved ResetGraphics and bpp>=32 planar YCoCg bitmap streams, and the failure window is narrow and timing-dependent. The advisory covers the client-side decode path; reachability from other consumers of the shared planar codec is not described in the available sources.
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:H/VI:N/VA:N/SC:N/SI:N/SA:N
Network-reachable malicious-server attack with no auth (PR:N), but a timing-dependent race raises AC:H; observed impact is a crash (A:H) with limited OOB-read/heap corruption (C:L/I:L).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
FreeRDP before 3.32.2 contains a use-after-free vulnerability that allows malicious RDP servers to corrupt client memory by racing the RDPGFX ResetGraphics handler against the planar bitmap decoder. Attackers can send ResetGraphics while concurrently sending compressed bitmaps of 32 bpp or more to trigger heap use-after-free or out-of-bounds read/write on shared planar buffers.
Technical POC Analysis
CWE-362 (race condition) leading to CWE-416 (use-after-free) and out-of-bounds read/write.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
CVE-2026-121957 is a high-severity heap use-after-free vulnerability in FreeRDP versions through 3.32.1 that enables a malicious or man-in-the-middle RDP server to corrupt client memory, potentially causing crashes or enabling further compromise. While exploitation requires winning a timing-dependent race and no active exploitation has been detected, the availability of a public proof-of-concept increases risk. Organizations using FreeRDP for remote desktop access should prioritize patching to version 3.32.2 to prevent disruption and potential security incidents.
Vendor-released patch: 3.32.2
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.
Race conditions occur when multiple concurrent requests exploit the brief time gap between checking a condition and acting upon it (TOCTOU - Time of Check, Time of Use).
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-116957
GHSA-r7gw-v2vh-25mh
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB