Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLure client to malicious RDP server
-
DeliverySend ESTABLISHCONTEXT smartcard IRP
-
ExploitPost long-timeout GETSTATUSCHANGE to worker
-
ExecutionSend RELEASECONTEXT freeing SCardContext
-
PersistWorker thread reads freed memory
-
ImpactCrash or heap corruption in client
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 | The client must be launched with /smartcard and must have FreeRDP_SmartcardEmulation enabled at runtime - a non-default configuration; without smartcard emulation the vulnerable Emulate_* code path is never reached. The attacker must be a malicious or compromised RDP server (or a man-in-the-middle) that the victim client connects to, able to send smartcard IRPs. The concrete trigger is the ordered sequence ESTABLISHCONTEXT, then GETSTATUSCHANGE(W) with a long or infinite timeout posted to the context's worker thread, then RELEASECONTEXT, which frees the emulated SCardContext and its handle before the worker thread is cancelled and joined, so the in-flight GetStatusChange reads released heap memory. Limiting factors: requires the non-default smartcard-emulation configuration and an untrusted server connection; confirmed impact is a client-process crash or heap corruption (availability), not demonstrated code execution or data disclosure. |
| Impact | The vendor CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) scores 8.7, but the only impact metric set is VA:H - confidentiality and integrity are N, so this is scored strictly as an availability/crash issue, consistent with the Denial Of Service and Memory Corruption tags. This is a client-side flaw: the attacker is a malicious or compromised RDP SERVER, and the victim is a FreeRDP client, so AV:N reflects the network-delivered IRPs rather than remote server-side compromise. The vuln.today decision label is 'this_week' (not act_now/emergency). No CISA KEV status and no EPSS probability were supplied in the input, so widespread-versus-targeted exploitation cannot be inferred from those signals. However, the FreeRDP GHSA advisory contains a working proof-of-concept (reproduce.sh) that was reproduced 3/3 times under AddressSanitizer, so exploitability is well established in principle. The decisive real-world limiter is configuration: exploitation requires the client to have /smartcard enabled with FreeRDP_SmartcardEmulation enabled at runtime, which is not a default posture. Net: a genuinely reliable, high-CVSS DoS/heap-corruption bug, but real-world exposure is confined to the subset of deployments running smartcard emulation and connecting to untrusted servers, which lowers practical priority below what the 8.7 alone implies. |
| Exploit ScenarioDerived | A user running a FreeRDP-based client with smartcard emulation enabled connects to a malicious or compromised RDP server. The server sends an ESTABLISHCONTEXT smartcard IRP, then a GETSTATUSCHANGE with a long/infinite timeout, then a RELEASECONTEXT, so the context and its handle are freed while the in-flight GetStatusChange worker thread is still reading them. A working PoC that reliably reproduces the crash exists in the FreeRDP GHSA advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 04, 2026
Use-after-free in FreeRDP smartcard emulation affects versions through 3.32.1 when a client is launched with /smartcard and FreeRDP_SmartcardEmulation is enabled. A remote unauthenticated attacker controlling a malicious or compromised RDP server can send ESTABLISHCONTEXT, a long-timeout GETSTATUSCHANGE, then RELEASECONTEXT to free the emulated context while its worker thread still reads it, causing heap corruption or a client crash, with demonstrated availability impact only. The vendor advisory includes a reproducible crash sequence (PoC material), but the supplied data does not confirm active exploitation.
RemediationAI
Upgrade to FreeRDP 3.32.2, the vendor-released fixed version, per GHSA-983v-jp34-f3fm (https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-983v-jp34-f3fm). Until patched, disable smartcard emulation and avoid launching clients with /smartcard when connecting to untrusted or compromised RDP servers; this removes the smartcard IRP path needed for the ESTABLISHCONTEXT/GETSTATUSCHANGE/RELEASECONTEXT sequence, with the trade-off that smartcard redirection is unavailable. Restricting client connections to trusted RDP servers is also a compensating control because the attacker must control the server or be a man-in-the-middle.
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 smartcard emulation implements the client side of the RDP smartcard virtual channel, translating IRPs into emulated SCard* calls and dispatching asynchronous requests such as GETSTATUSCHANGE to per-context worker threads. In Emulate_SCardReleaseContext, the emulated SCardContext and its handle are freed before the worker thread is cancelled and joined; the later HashTable_Remove for the context triggers smartcard_context_free, which performs the cancel/join too late. A GETSTATUSCHANGEW with a long or infinite timeout remains in the worker's Sleep loop and then reads value->readerStateW[y] and value->canceled after the free, producing a CWE-416 heap use-after-free read; the same fix point also covers handle use-after-free reads (hdl->szReader, hdl->vgids, transmitcount, State) and a data race on the lock-free contexts HashTable. The CPE cpe:2.3:a:freerdp:freerdp:*:*:*:*:*:*:*:* identifies the affected FreeRDP product family; the vulnerable path is only reached with smartcard emulation enabled. The vendor CVSS 4.0 score is 8.7 (AV:N/AC:L/AT:N/PR:N/UI:N) with only VA:H set, consistent with the independent CVSS 3.1 assessment AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H that treats this as an availability-only issue.
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:N/VI:N/VA:H/SC:N/SI:N/SA:N
Malicious server delivers IRPs over the network (AV:N) with no client auth (PR:N); PoC reproduces reliably (AC:L); use-after-free crashes the client process with no confidentiality/integrity impact (C:N/I:N/A:H).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
FreeRDP before 3.32.2 contains a use-after-free vulnerability in Emulate_SCardReleaseContext that frees the emulated SCardContext before its worker thread is cancelled and joined. A malicious server can send ESTABLISHCONTEXT, a long-timeout GETSTATUSCHANGE, then RELEASECONTEXT smartcard IRPs to corrupt heap memory or crash clients using smartcard emulation.
Technical POC Analysis
CWE-416 (use-after-free), in the emulated smartcard backend, EmulateSCardReleaseContext at libfreerdp/emu/scard/smartcardemulate.c:466-490.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
FreeRDP versions through 3.32.1 contain a high-severity use-after-free vulnerability in smartcard emulation that allows a malicious RDP server to crash or corrupt the memory of connecting clients. Organizations using FreeRDP with smartcard emulation enabled face availability disruptions and potential heap corruption, impacting remote access and credential workflows. Leadership should prioritize mitigation given the lack of a patch and the public PoC reference.
No vendor-released patch identified at time of analysis. Interim mitigations: disable smartcard emulation (/smartcard and FreeRDP_SmartcardEmulation) where not essential; restrict outbound RDP connections to trusted, internal servers; enforce network segmentation and strong authentication for RDP gateways; monitor for client crashes and anomalous RDP server behavior.
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
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.
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-116955
GHSA-59q5-wg5w-gxp4
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB