Skip to main content

FreeRDP EUVDEUVD-2026-116957

| CVE-2026-121957 HIGH
Race Condition (CWE-362)
2026-11-04 VulnCheck GHSA-r7gw-v2vh-25mh
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Victim connects to malicious RDP server
  2. Delivery
    Server drives session to ACTIVE with RDPGFX channel
  3. Exploit
    Send ResetGraphics on drdynvc thread
  4. Execution
    Concurrently send 32bpp planar bitmaps on main thread
  5. Persist
    Race reset against planar decoder
  6. Impact
    Heap 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

FreeRDP 0 <3.32.2

Affected Packages

euvd freerdp fix: 3.32.2

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

Vendor (VulnCheck) PRIMARY 8.7 HIGH
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
vuln.today AI 7.0 HIGH

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).

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N
Red Hat 7.5 HIGH

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 04, 2026 - 17:02 EUVD
CVE Published
Nov 04, 2026 - 15:33 cve.org
HIGH 8.7

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

Vendor-released patch: 3.32.2

Threat Intelligence Overview

EPSS Score
0.3%
Top 75% exploitable
Prevalence
High
de facto open-source RDP client library bundled in many Linux remote-desktop products
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC Vendor GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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).

CVE-2026-25997 CRITICAL POC
9.8 Feb 25

Use-after-free in FreeRDP xf_clipboard_format_equal before 3.23.0. Clipboard format comparison uses freed memory. Fifth

CVE-2026-25953 CRITICAL POC
9.8 Feb 25

Use-after-free in FreeRDP xf_AppUpdateWindowFromSurface before 3.23.0. Surface-to-window update triggers memory corrupti

CVE-2026-25952 CRITICAL POC
9.8 Feb 25

Use-after-free in FreeRDP xf_SetWindowMinMaxInfo before version 3.23.0. X11 client window management triggers memory cor

CVE-2026-25959 CRITICAL POC
9.8 Feb 25

Use-after-free in FreeRDP xf_cliprdr_provide_data clipboard handling before 3.23.0. Clipboard data exchange triggers mem

CVE-2026-22857 CRITICAL POC
9.8 Jan 14

FreeRDP IRP thread handler has a use-after-free where the IRP is freed by Complete() then accessed on the error path. Fi

CVE-2026-22854 CRITICAL POC
9.8 Jan 14

FreeRDP drive read heap overflow when server-controlled read length exceeds IRP output buffer. Fixed in 3.20.1. PoC avai

CVE-2026-22852 CRITICAL POC
9.8 Jan 14

FreeRDP client before 3.20.1 has a heap buffer overflow in AUDIN format processing. A malicious RDP server can corrupt m

CVE-2026-25955 CRITICAL POC
9.8 Feb 25

Use-after-free in FreeRDP xf_AppUpdateWindowFromSurface before 3.23.0. Different code path from CVE-2026-25953. PoC and

CVE-2024-32041 CRITICAL POC
9.8 Apr 22

FreeRDP is a free implementation of the Remote Desktop Protocol. Rated critical severity (CVSS 9.8), this vulnerability

CVE-2023-40574 CRITICAL POC
9.8 Aug 31

FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Rated critical

CVE-2023-40569 CRITICAL POC
9.8 Aug 31

FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Rated critical

CVE-2023-40567 CRITICAL POC
9.8 Aug 31

FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Rated critical

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy