FreeRDP
CVE-2026-23883
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLure client to malicious RDP server
-
DeliveryEstablish RDP session to client
-
ExploitSend crafted cursor/pointer update
-
ExecutionTrigger failure path freeing cursorPixels
-
PersistSecond free via xf_Pointer_Free (double-free)
-
ImpactCrash client or corrupt heap
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
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 victim to run an X11-based FreeRDP client (versions before 3.21.0) and to establish an RDP session to a server the attacker controls or has compromised - the malicious peer must be on the server side of an active connection, since the bug is triggered by server-sent cursor/pointer update data reaching xf_Pointer_New. The limiting factors are: the attacker cannot reach a listening client service unsolicited, so social engineering or a malicious/MITM'd server is needed to get the user to initiate the connection; only the X11 client graphics path is implicated; and the confirmed outcome is a client crash, with code execution being heap-layout- and allocator-dependent rather than guaranteed. No special non-default configuration of the client is required beyond using the X11 frontend. |
| Impact | Signals are largely consistent and point to a real but bounded risk. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H, base 7.7, E:P) describes a network-reachable, low-complexity, no-privilege flaw whose only confirmed impact is availability (client crash); confidentiality and integrity are scored None. EPSS is low (0.17%, 38th percentile) and the vulnerability is NOT on the CISA KEV list, so there is no evidence of active exploitation - exploitation is reverse, requiring the victim's client to connect to an attacker-controlled or compromised server rather than the attacker reaching a listening service. The CVSS UI:N is worth scrutiny: in practice a user must initiate an outbound RDP session to the malicious server, which is a meaningful real-world limiter not captured by the metric. The 'potential code execution' is explicitly conditional on allocator and heap-layout behavior and is not reflected in the scored impact (VA:H only, VC/VI:N), so it should be treated as a worst-case possibility, not a confirmed RCE. Net: prioritize as a standard client-side DoS patch, elevated modestly because public PoC exists and FreeRDP is broadly deployed. |
| Exploit ScenarioDerived | An attacker stands up a malicious RDP server (or compromises a legitimate one) and lures a user into connecting with a vulnerable FreeRDP-based client. The server sends a crafted pointer/cursor update that drives xf_Pointer_New into its failure path, causing the cursorPixels buffer to be freed twice; this reliably crashes the client (DoS) and, depending on heap layout, could be groomed toward memory corruption. Public exploit/PoC material is referenced in the GitHub security advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv5 – Jun 30, 2026
Client-side denial of service in the FreeRDP RDP client (X11 frontend) prior to version 3.21.0 lets a malicious or compromised RDP server crash the connecting client and potentially corrupt its heap. The flaw is a double-free of the cursor pixel buffer in xf_Pointer_New: on an allocation/setup failure the function frees cursorPixels, and a later pointer_free call invokes xf_Pointer_Free which frees the same buffer again (CWE-416 use-after-free/double-free). Publicly available exploit code exists and an EPSS of 0.17% indicates currently low probability of widespread exploitation; impact is rated availability-only (VA:H), though the description notes heap-corruption could escalate to code execution depending on allocator behavior.
Earlier versions of this analysis (4)
Client-side use-after-free in FreeRDP's X11 client (xf_graphics.c) prior to version 3.21.0 lets a malicious or compromised RDP server crash connecting clients and potentially corrupt the heap. When xf_Pointer_New fails it frees cursorPixels, and the subsequent pointer_free path calls xf_Pointer_Free which frees the same buffer again (double-free/UAF), confirmed via AddressSanitizer. Publicly available exploit code exists; the issue is not listed in CISA KEV and EPSS remains low at 0.17%, indicating no observed widespread exploitation.
Client-side use-after-free in FreeRDP's X11 client (xfreerdp) before version 3.21.0 lets a malicious or compromised RDP server crash a connecting client and potentially corrupt the heap. When cursor allocation fails in xf_Pointer_New, cursorPixels is freed, and the later pointer_free path calls xf_Pointer_Free which frees the same buffer again (double-free/UAF, CWE-416). Publicly available exploit code exists (GitHub Security Advisory GHSA-qcrr-85qx-4p6x); impact is primarily denial of service with a code-execution risk that depends on allocator behavior, and EPSS is low at 0.17% (38th percentile).
Server-triggered client-side use-after-free in FreeRDP's X11 client (xf_graphics.c) prior to 3.21.0 lets a malicious or compromised RDP server crash connecting clients and potentially corrupt the heap. The double-free occurs when xf_Pointer_New frees cursorPixels on a failure path and pointer_free later invokes xf_Pointer_Free, which frees the same buffer again. Publicly available exploit code exists and a vendor patch (3.21.0) is released, but it is not listed in CISA KEV and EPSS risk is low (0.17%).
Use-after-free in FreeRDP pointer handling enables client-side RCE via malicious RDP servers.
RemediationAI
Vendor-released patch: upgrade FreeRDP to version 3.21.0 or later (https://github.com/FreeRDP/FreeRDP/releases/tag/3.21.0), which corrects the double-free in xf_Pointer_New. On enterprise Linux, apply the corresponding distribution updates instead of building from source - Red Hat (RHSA-2026:2222 and the related errata above) and SUSE (SUSE-SU-2026:0345, SUSE-SU-2026:0656) - and rebuild or restart any application that links FreeRDP so the fixed library is loaded. Because exploitation requires the client to connect to a hostile server, the most effective compensating control until patching is to restrict outbound RDP connections to known, trusted hosts (allowlist destinations / block arbitrary outbound 3389 egress at the firewall), accepting that this breaks ad-hoc connections to new servers. Avoid connecting to untrusted or attacker-supplied RDP endpoints, and where the X11 client is involved, consider routing connections only to managed gateways you control; note these are mitigations of exposure, not of the underlying bug, so they should be lifted once the patched version is deployed.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
FreeRDP is the dominant open-source implementation of Microsoft's Remote Desktop Protocol and underpins clients such as Remmina, GNOME Boxes, and Weston, as well as the freerdp command-line tools shipped by Red Hat and SUSE. The defect lives in the X11 client graphics path: client/X11/xf_graphics.c handles pointer (cursor) updates, where xf_Pointer_New allocates and converts server-supplied cursor bitmaps into a cursorPixels buffer. The references pinpoint the error-handling block (xf_graphics.c lines 312-319 and 340) that frees cursorPixels on failure without nulling the owning pointer, and libfreerdp/cache/pointer.c lines 164-174 where the generic pointer_free path later calls back into xf_Pointer_Free and frees the dangling pointer a second time. This is a classic CWE-416 use-after-free arising from an ownership/double-free bug in failure cleanup, detectable by AddressSanitizer (ASan UAF). Because the protocol peer (the server) controls the cursor data that drives this path, a server can deterministically steer the client into the faulty failure branch.
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/E:P
Server-side attacker triggers the flaw, but the victim must initiate the outbound RDP connection (UI:R); only a reliable client crash is confirmed, so A:H with C:N/I:N.
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
9DescriptionCVE.org
FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to version 3.21.0, xf_Pointer_New frees cursorPixels on failure, then pointer_free calls xf_Pointer_Free and frees it again, triggering ASan UAF. A malicious server can trigger a client‑side use after free, causing a crash (DoS) and potential heap corruption with code‑execution risk depending on allocator behavior and surrounding heap layout. Version 3.21.0 contains a patch for the issue.
Executive ViewAI
FreeRDP prior to version 3.21.0 is vulnerable to a denial-of-service attack from malicious RDP servers that can crash the Linux client and disrupt remote desktop sessions. Publicly available exploit code exists; organizations providing remote access via FreeRDP should prioritize immediate patching to prevent service interruptions.
Apply vendor patch.
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.
Affected Products (CPE)CVE.org
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
Same weakness CWE-416 – Use After Free
View allSame technique Denial Of Service
View allVendor StatusVendor
SUSE
Severity: Critical| Product | Status |
|---|---|
| Container suse/sl-micro/6.0/baremetal-os-container:latest Container suse/sl-micro/6.0/kvm-os-container:latest Container suse/sl-micro/6.0/rt-os-container:latest | Affected |
| Container suse/sl-micro/6.0/base-os-container:latest Container suse/sl-micro/6.0/toolbox:latest Image SL-Micro Image SLE-Micro Image SLE-Micro-Azure Image SLE-Micro-BYOS Image SLE-Micro-BYOS-Azure Image SLE-Micro-BYOS-EC2 Image SLE-Micro-BYOS-GCE Image SLE-Micro-EC2 Image SLE-Micro-GCE | Affected |
| Container suse/sl-micro/6.1/baremetal-os-container:2.2.1-7.43 Container suse/sl-micro/6.1/kvm-os-container:2.2.1-5.67 Container suse/sl-micro/6.1/rt-os-container:2.2.1-5.57 | Affected |
| Container suse/sl-micro/6.1/base-os-container:2.2.1-5.64 Image SL-Micro-Azure Image SL-Micro-BYOS-Azure Image SL-Micro-BYOS-EC2 Image SL-Micro-BYOS-GCE Image SL-Micro-EC2 Image SUSE-Multi-Linux-Manager-Proxy-BYOS-Azure Image SUSE-Multi-Linux-Manager-Proxy-BYOS-EC2 Image SUSE-Multi-Linux-Manager-Proxy-BYOS-GCE Image SUSE-Multi-Linux-Manager-Server-Azure-llc Image SUSE-Multi-Linux-Manager-Server-Azure-ltd Image SUSE-Multi-Linux-Manager-Server-BYOS-Azure Image SUSE-Multi-Linux-Manager-Server-BYOS-EC2 Image SUSE-Multi-Linux-Manager-Server-BYOS-GCE Image SUSE-Multi-Linux-Manager-Server-EC2-llc Image SUSE-Multi-Linux-Manager-Server-EC2-ltd | Affected |
| SUSE Liberty Linux 8 | Fixed |
| SUSE Liberty Linux 9 | Fixed |
| SUSE Linux Enterprise Desktop 15 SP7 SUSE Linux Enterprise Server 15 SP7 SUSE Linux Enterprise Server for SAP Applications 15 SP7 SUSE Linux Enterprise Workstation Extension 15 SP7 | Fixed |
| SUSE Linux Enterprise Module for Package Hub 15 SP7 | Fixed |
| SUSE Linux Enterprise Server 16.0 SUSE Linux Enterprise Server for SAP applications 16.0 | Fixed |
| openSUSE Leap 15.6 | Fixed |
| openSUSE Leap 16.0 | Fixed |
| openSUSE Tumbleweed | Fixed |
| SUSE Linux Enterprise Server 16.0 | Affected |
| SUSE Linux Enterprise Desktop 15 SP7 | Fixed |
| SUSE Linux Enterprise Desktop 15 SP7 | Fixed |
| SUSE Linux Enterprise Module for Package Hub 15 SP7 | Fixed |
| SUSE Linux Enterprise Module for Package Hub 15 SP7 | Fixed |
| SUSE Linux Enterprise Server 15 SP7 | Fixed |
| SUSE Linux Enterprise Server 15 SP7 | Fixed |
| SUSE Linux Enterprise Server 16.0 | Fixed |
| SUSE Linux Enterprise Server 16.1 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 SP7 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 SP7 | Fixed |
| SUSE Linux Enterprise Server for SAP applications 16.0 | Fixed |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Fixed |
| SUSE Linux Enterprise Workstation Extension 15 SP7 | Fixed |
| SUSE Linux Enterprise Workstation Extension 15 SP7 | Fixed |
| openSUSE Leap 15.6 | Fixed |
| SUSE Linux Enterprise Server 12 SP5 | Fixed |
| SUSE Linux Enterprise Server 12 SP5-LTSS | Fixed |
| SUSE Linux Enterprise Server 12 SP5-LTSS Extended Security | Fixed |
| SUSE Linux Enterprise Server 15 SP4 | Fixed |
| SUSE Linux Enterprise Server 15 SP5 | Fixed |
| SUSE Linux Enterprise Server 15 SP6 | Fixed |
| SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 12 SP5 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | Fixed |
| SUSE Linux Enterprise Desktop 12 SP2 | Fixed |
| SUSE Linux Enterprise Desktop 12 SP3 | Fixed |
| SUSE Linux Enterprise Desktop 12 SP4 | Fixed |
| SUSE Linux Enterprise Desktop 15 SP4 | Fixed |
| SUSE Linux Enterprise Desktop 15 SP5 | Fixed |
| SUSE Linux Enterprise Desktop 15 SP6 | Fixed |
| SUSE Linux Enterprise Module for Package Hub 15 SP4 | Fixed |
| SUSE Linux Enterprise Module for Package Hub 15 SP5 | Fixed |
| SUSE Linux Enterprise Module for Package Hub 15 SP6 | Fixed |
| SUSE Linux Enterprise Server 12 SP2 | Fixed |
| SUSE Linux Enterprise Server 12 SP3 | Fixed |
| SUSE Linux Enterprise Server 12 SP4 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 12 SP2 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 12 SP3 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 12 SP4 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | Fixed |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | Fixed |
| SUSE Linux Enterprise Software Development Kit 12 SP2 | Fixed |
| SUSE Linux Enterprise Software Development Kit 12 SP3 | Fixed |
| SUSE Linux Enterprise Software Development Kit 12 SP4 | Fixed |
| SUSE Linux Enterprise Software Development Kit 12 SP5 | Fixed |
| SUSE Linux Enterprise Workstation Extension 12 SP2 | Fixed |
| SUSE Linux Enterprise Workstation Extension 12 SP3 | Fixed |
| SUSE Linux Enterprise Workstation Extension 12 SP4 | Fixed |
| SUSE Linux Enterprise Workstation Extension 12 SP5 | Fixed |
| SUSE Linux Enterprise Workstation Extension 15 SP4 | Fixed |
| SUSE Linux Enterprise Workstation Extension 15 SP5 | Fixed |
| SUSE Linux Enterprise Workstation Extension 15 SP6 | Fixed |
| openSUSE Leap 15.4 | Fixed |
| openSUSE Leap 15.5 | Fixed |
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB