Skip to main content

FreeRDP CVE-2026-142099

| EUVDEUVD-2026-141251 LOW
Use After Free (CWE-416)
2026-12-02 VulnCheck GHSA-8hhw-gxrv-h8wg
2.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Run Windows FreeRDP client with drive hotplug
  2. Exploit
    Disconnect while hotplug thread still starting
  3. Impact
    Worker writes handle into freed plugin, client crash

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
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 the Windows build of the FreeRDP client (wfreerdp) running with async RDPDR and dynamic drive hotplug explicitly enabled via /drive:hotplug,DynamicDrives - a non-default configuration. The use-after-free triggers only when a session disconnects precisely while the drive_hotplug_thread_func worker is still starting and has not yet stored hotplug_wnd, so the teardown frees rdpdrPlugin before the worker writes into it (AC:H plus AT:P reflect this tight teardown race). Strong limiting factors: the vector is local (AV:L), the product/feature must be Windows plus the opt-in hotplug mode, and the reporter could reproduce the fault only by inserting a local synchronization barrier into an instrumented debug build - they could NOT reproduce it through an ordinary remote disconnect, and only tested FreeRDP 3.33.1.

Impact

All signals converge on low real-world risk. The input CVSS 4.0 base score is 2.1 (Low) with vector AV:L/AC:H/AT:P/PR:N/UI:N and only limited VI/VA impact, and vuln.today's decision label is 'monitor' - the lowest urgency tier, not act_now or emergency. The vector is local (AV:L), requires high attack complexity (AC:H) plus a specific attack requirement (AT:P), consistent with the GHSA advisory, which describes a narrow teardown race that the reporter (VulnCheck) could only trigger by inserting a local synchronization barrier into an instrumented Windows debug build. No CISA KEV listing and no EPSS score are provided, so there is no evidence of active or probable exploitation. One internal conflict: the input vector assigns VI:L (limited integrity impact), but the researcher explicitly states they demonstrated only a client-side heap write-after-free causing a crash and did NOT demonstrate information disclosure or code execution - so the integrity impact is unverified by the available evidence and the realistic outcome is a denial-of-service style client crash. This is a genuinely low-priority, client-side stability/teardown bug, not a high-CVSS-but-hyped issue; it is simply low across every signal.

Exploit ScenarioDerived

A user runs the Windows FreeRDP client (wfreerdp) with async RDPDR and dynamic drive hotplug enabled (/drive:hotplug,DynamicDrives) and the session disconnects while the drive-hotplug worker thread is still initializing; the worker then writes the window handle into the already-freed rdpdrPlugin structure, corrupting the heap and crashing the client. A public PoC reference exists in the GHSA advisory, but it is not verified as a working remote exploit - the reporter reproduced the fault only with an instrumented build containing a local barrier and could not trigger it via a plain remote disconnect. Given AV:L/AC:H/AT:P, exploitation depends on winning a tight teardown race rather than on a reliably attacker-controlled trigger.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available

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

Alert me

AnalysisAIv1 – Dec 02, 2026

FreeRDP's Windows client (wfreerdp) can store a window handle into an already-freed rdpdrPlugin structure when an RDP session tears down while the RDPDR drive hotplug worker thread is still starting, producing a client-side heap write-after-free that may crash the client or corrupt memory. Versions up to and including 3.33.1 are affected, but only in the non-default configuration of a Windows build with async RDPDR and dynamic drive hotplug enabled via /drive:hotplug,DynamicDrives; FreeRDP 3.34.0 contains the fix. The reporter reproduced the fault only by inserting a local synchronization barrier into an instrumented debug build and could not trigger it through an ordinary remote disconnect, so a public PoC reference exists but it is not verified as working exploit code; no confirmed active exploitation (CISA KEV) and no notable EPSS signal were provided, and the assessed vector (AV:L/AC:H) keeps real-world risk low.

RemediationAI

Vendor-released patch: FreeRDP 3.34.0 - upgrade any Windows client built from 3.33.1 or earlier to 3.34.0 or later (the fix is commit c941dbfec3096cfb7c30317eb85fceeb50f704cb, which initializes the hotplug window during rdpdr_process_connect() instead of inside drive_hotplug_thread_func(), removing the window in which the worker can outlive the plugin; release notes at https://github.com/FreeRDP/FreeRDP/releases/tag/3.34.0, advisory at https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-gjfp-736x-92hj). Where upgrading immediately is not possible, the practical compensating control is to stop launching the Windows client in the affected mode: drop the /drive:hotplug,DynamicDrives option (and any equivalent async RDPDR plus dynamic drive hotplug setting) so the drive hotplug worker thread is never created - the trade-off is loss of dynamic drive redirection during a session, requiring users to reconnect to pick up newly attached drives. Organizations that must keep hotplug enabled should pin to a build containing the fix rather than rely on configuration discipline, since the bug is a narrow teardown race that is not observable at runtime; no other workaround is described in the available sources.

Affected VersionsENISA

FreeRDP 0 <3.34.0

Affected Packages

euvd freerdp fix: 3.34.0

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 use-after-free (CWE-416) in the RDPDR (device redirection) virtual channel of FreeRDP's Windows client, files channels/rdpdr/client/rdpdr_main.c. On Windows, drive hotplug is handled by a worker thread created with CreateThread(nullptr, 0, drive_hotplug_thread_func, rdpdr, 0, nullptr), which receives the rdpdrPlugin pointer directly; during startup the worker creates a "DRIVE_HOTPLUG" window, stores the plugin pointer in GWLP_USERDATA and writes the window handle back into rdpdr->hotplug_wnd. On teardown, drive_hotplug_thread_terminate() posts WM_QUIT only if hotplug_wnd has already been set and returns without joining the worker in either case; CHANNEL_EVENT_DISCONNECTED joins only rdpdr->thread (then calls devman_free()), and CHANNEL_EVENT_TERMINATED frees rdpdrPlugin via rdpdr_virtual_channel_event_terminated() - neither handler joins hotplugThread. If the session disconnects in the window between worker creation and the hotplug_wnd assignment, the worker resumes and writes into the freed allocation, which PageHeap confirmed inside a free-ed block whose free stack passes through rdpdr_virtual_channel_event_terminated(). The upstream fix (commit c941dbfec3096cfb7c30317eb85fceeb50f704cb) moves window class registration and window creation out of the thread into a drive_hotplug_thread_initialize() step performed during rdpdr_process_connect(), so the window handle is established before the worker starts. The supplied CPE (cpe:2.3:a:freerdp:freerdp:*:*:*:*:*:*:*:*) is a wildcard that does not encode the Windows-only, opt-in hotplug precondition; the trigger for a purely remote disconnect is not described in the available sources, and the reporter explicitly did not demonstrate it.

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 2.1 LOW
CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
vuln.today AI 2.9 LOW

Local teardown race (AV:L/AC:H) needing no authentication; evidence shows only a client-side crash, so A:L with C:N/I:N since disclosure and integrity impact were not demonstrated.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

DescriptionCVE.org

FreeRDP before 3.34.0 contains a use-after-free vulnerability in the Windows RDPDR drive hotplug worker in rdpdr_main.c that occurs during channel teardown. When a session disconnects while the hotplug thread is still starting, drive_hotplug_thread_func() writes the window handle into the freed rdpdrPlugin structure, causing heap corruption or client crashes.

Threat Intelligence Overview

Prevalence
High
widely used open-source RDP client; native Windows build footprint narrower
Data Quality
4 sources
Confidence: Medium
EUVD NVD CVE.org Vulnrichment GitHub

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 LOW
CISA KEV No
Public POC No
EPSS N/A
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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· derived
Defer
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

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

Attack Technique

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

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.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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

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