Skip to main content

FreeRDP CVE-2026-23883

HIGH
Use After Free (CWE-416)
2026-01-19 security-advisories@github.com
7.7
CVSS 4.0 · Vendor: github
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
    Establish RDP session to client
  3. Exploit
    Send crafted cursor/pointer update
  4. Execution
    Trigger failure path freeing cursorPixels
  5. Persist
    Second free via xf_Pointer_Free (double-free)
  6. Impact
    Crash 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.

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

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

Alert me

AnalysisAIv5 – 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)
v4 Jun 30, 2026 - 06:01 cvss changed CVSS 7.7

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.

v3 Jun 30, 2026 - 06:01 cvss changed CVSS 7.7

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

v2 Jun 30, 2026 - 06:01 cvss changed CVSS 7.7

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

v1 Mar 12, 2026 - 21:54 CVSS 9.8

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

Vendor (github) PRIMARY 7.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/E:P
vuln.today AI 6.5 MEDIUM

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.

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

Primary rating from Vendor (github).

CVSS VectorVendor: github

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

9
Analysis Updated
Jun 30, 2026 - 06:02 vuln.today
v5 - CVSS changed
Analysis Updated
Jun 30, 2026 - 06:01 vuln.today
v4 - CVSS changed
Analysis Updated
Jun 30, 2026 - 06:01 vuln.today
v3 - CVSS changed
Analysis Updated
Jun 30, 2026 - 06:01 vuln.today
v2 - CVSS changed
Severity Changed
Jun 30, 2026 - 03:23 NVD
CRITICAL HIGH
CVSS changed
Jun 30, 2026 - 03:23 NVD
9.8 (CRITICAL) 7.7 (HIGH)
Patch released
Apr 09, 2026 - 20:30 nvd
Patch available
PoC Detected
Jan 28, 2026 - 18:35 vuln.today
Public exploit code
CVE Published
Jan 19, 2026 - 18:16 nvd
CRITICAL 9.8

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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 62% exploitable
Prevalence
High
de facto open-source RDP client embedded across Linux distros and apps
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High
NVD CVE.org EPSS 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 Yes
EPSS 0.2%
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· derived
Out-of-Cycle
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

58
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: +20
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.

Affected Products (CPE)CVE.org

cpe:2.3:a:freerdp:freerdp:*:*:*:*:*:*:*:*
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

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

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