Skip to main content

FreeRDP CVE-2026-121955

| EUVDEUVD-2026-116955 HIGH
Use After Free (CWE-416)
2026-11-04 VulnCheck GHSA-59q5-wg5w-gxp4
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Lure client to malicious RDP server
  2. Delivery
    Send ESTABLISHCONTEXT smartcard IRP
  3. Exploit
    Post long-timeout GETSTATUSCHANGE to worker
  4. Execution
    Send RELEASECONTEXT freeing SCardContext
  5. Persist
    Worker thread reads freed memory
  6. Impact
    Crash 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.

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

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

Alert me

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

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

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

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

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

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/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
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
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 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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.4%
Top 64% exploitable
Prevalence
High
widely embedded open-source RDP client (remmina, Guacamole, Weston)
Data Quality
7 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.4%
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

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

Vendor StatusVendor

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