Skip to main content

FreeRDP CVE-2026-121954

| EUVDEUVD-2026-116954 HIGH
Out-of-bounds Write (CWE-787)
2026-11-04 VulnCheck GHSA-gm6q-vf9r-pj34
7.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Recon
    Victim connects to malicious RDP server
  2. Delivery
    RDP handshake completes (ACTIVE state)
  3. Exploit
    Send ResetGraphics PDU with 32766×32766 dimensions
  4. Install
    Third planar buffer reallocation fails; oversized geometry already committed to context
  5. C2
    Send crafted GFX PLANAR command
  6. Execute
    Decode steps through stale undersized heap buffer with new oversized stride
  7. Impact
    Heap OOB write and NULL-pointer write crash client process

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
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 three concurrent conditions. First, the FreeRDP client must have negotiated the GFX pipeline (via /gfx flag or equivalent capability negotiation during RDP handshake). Second, the client's virtual address space must be in the exploitable allocation window: the first two planar buffer reallocations in freerdp_bitmap_planar_context_reset must succeed (each approximately 4 GiB) while the third (approximately 6 GiB) fails; on systems where all four allocations succeed (RLIMIT_AS ≥ ~18 GiB), the codec resets cleanly and no corruption occurs; on systems where the first GDI buffer allocation fails (RLIMIT_AS ≤ ~4 GiB), the error propagates before the vulnerable decode path is reached. Third, the victim user must actively connect to the attacker-controlled server; passive network exposure alone is insufficient. No server-side authentication or privilege is required - any server that has completed the standard RDP handshake can deliver the malicious ResetGraphics and GFX PLANAR PDU sequence without further authorization.

Impact

The CVSS 4.0 score of 7.1 (AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N) positions this as a high-severity network vulnerability. Two scoring discrepancies warrant explicit note: the VA:N (no availability impact) contradicts the PoC-confirmed segmentation fault - the CVSS scorer appears to have recorded only the most severe plausible post-corruption outcome (code execution via heap spray, VC:H) while omitting the directly observed crash impact (VA:H); and AT:N understates a real exploitability constraint - the heap out-of-bounds write triggers only when the client's virtual address space allows the first two planar buffer reallocations (~4 GiB each) to succeed but the third (~6 GiB) to fail, a window that maps to systems with roughly 8-14 GiB available virtual memory and is realistic but not universal on typical consumer hardware. No EPSS score was supplied. The vulnerability is not listed in the CISA KEV, so exploitation is not confirmed active. A full, working proof-of-concept server is confirmed in the GitHub GHSA advisory, lowering the bar for motivated adversaries. The vuln.today decision label is 'this_week', indicating elevated but non-emergency priority. The user-interaction requirement - victim must connect to an attacker-controlled RDP server - is a meaningful barrier to mass exploitation, though adversary-in-the-middle or social-engineering campaigns reduce that barrier materially for targeted attacks. In sum: a real, PoC-confirmed client-side heap corruption with confirmed crash and plausible code execution potential, constrained by a specific memory allocation failure window and requiring user initiation of the RDP connection.

Exploit ScenarioDerived

An attacker operates a malicious RDP server and lures or redirects a FreeRDP client user into connecting via social engineering or network interception; a publicly available PoC server implementing the full attack sequence is confirmed in the GHSA advisory. After the RDP handshake completes, the server sends a ResetGraphics PDU with 32766×32766 dimensions, causing the planar codec to commit the new oversized geometry to context state before the third buffer reallocation (~6 GiB) fails; the first two allocations succeed and the stale undersized buffers remain. The server then sends a crafted GFX PLANAR command whose decode path steps through the old buffers using the new oversized stride (nTempStep = 32768×4 bytes), producing a heap out-of-bounds write into pTempData and a NULL-pointer write through the dangling deltaPlanes pointer, crashing the client with a segmentation fault in planar.c writeLine.

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

Heap out-of-bounds write and a NULL-pointer write in the FreeRDP client's GFX planar codec (3.32.1 and earlier) let a malicious RDP server corrupt client heap memory and crash the client process during an otherwise ordinary session. The server sends an oversized ResetGraphics PDU (roughly 32766x32766) so that freerdp_bitmap_planar_context_reset commits the new maxWidth/maxHeight/nTempStep before its buffer reallocations fail, and the failure is only logged; a following GFX PLANAR command is then decoded with the new stride against the stale, smaller pTempData/rlePlanesBuffer. Exploitation is constrained: the client must have negotiated the GFX pipeline, the victim must actively connect to the attacker-controlled server, and the client address space must sit in a narrow allocation window where the ~4 GiB buffers succeed and the ~6 GiB allocation fails - a public proof-of-concept reproducer with a malicious server is published in the upstream GHSA, and the available sources do not report confirmed active exploitation.

RemediationAI

Vendor-released patch: upgrade FreeRDP to 3.32.2 or later (fixed from 3.32.1 onward); the fix is documented in GHSA-fg78-v8j5-8697 and the VulnCheck advisory, so distribution packages and vendored copies of libfreerdp must be rebuilt against 3.32.2. Where an immediate upgrade is not possible, the actionable compensating control is to stop the client from negotiating the GFX pipeline at all - launching xfreerdp/wlfreerdp without the /gfx option (or with GFX disabled) removes the rdpgfx ResetGraphics/PLANAR path entirely; the trade-off is loss of the RemoteFX/GFX rendering path and the bandwidth/performance benefits it provides, with a fallback to legacy bitmap updates. Because the corruption is confined to clients whose address space fails the third planar reallocation while the earlier ones succeed, constraining the client process address space low enough that the primary GDI buffer allocation fails makes the reset fail early and the decode return without a crash, but that is a fragile, deployment-specific mitigation and not a substitute for patching. Note that clients still need to connect to a trusted RDP endpoint; connecting to attacker-controlled servers is the delivery vector, and no server-side authentication requirement limits this path once the RDP handshake completes.

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 planar codec (libfreerdp/codec/planar.c) is the RemoteFX/GFX PLANAR decoder used by the client's GDI surface path: rdpgfx_recv_reset_graphics_pdu -> gdi_ResetGraphics -> freerdp_client_codecs_reset -> freerdp_bitmap_planar_context_reset. The reset function writes new geometry (maxWidth, maxHeight, maxPlaneSize, nTempStep) and clears the planes/rlePlanes/deltaPlanes pointer arrays before it recallocs the four backing buffers; if an allocation fails it returns FALSE, but callers only propagate or log the error (codecs.c, gfx.c, rdpgfx_main.c uses WLog_ERR, drdynvc keeps looping), so the context is left with new dimensions over old, smaller buffers and NULL pointer-array entries. The subsequent GFX PLANAR surface command decoded via gdi_SurfaceCommand_Planar reaches planar_decompress_plane_rle / planar_decompress_planes_raw (writeLine) and planar_subsample_expand, which step and write using the new dimensions into the stale allocation, yielding a CWE-787 out-of-bounds write (and a NULL write on the chroma sub-sampling path via a deltaPlanes pointer left NULL). The flaw is a non-atomic state update on a failed reset rather than a parsing bug; the trigger requires the GFX dynamic channel (drdynvc/rdpgfx) to be negotiated and the client's virtual address space to fail exactly the third ~6 GiB reallocation, so systems with RLIMIT_AS around 18 GiB or more reset cleanly, and systems at ~4 GiB fail the primary GDI buffer first and return early without reaching the vulnerable decode.

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

AC:H because exploitation requires a specific virtual address space window (~8-14 GiB) where only the third planar buffer allocation fails; C:H/I:H/A:H because confirmed heap OOB write enables crash (A:H) and plausible code execution (C:H/I:H), consistent with VC:H in the vendor-scored CVSS 4.0 vector.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
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 7.1

DescriptionCVE.org

FreeRDP before 3.32.2 has a heap out-of-bounds write in the planar codec because freerdp_bitmap_planar_context_reset commits new dimensions before buffer reallocation succeeds, and a failed ResetGraphics is only logged. A malicious RDP server can send an oversized ResetGraphics PDU, then a GFX PLANAR command, to corrupt client heap memory and crash the client.

Technical POC Analysis

Heap out-of-bounds write (CWE-787), with a secondary NULL-pointer write, in FreeRDP's GFX planar codec.

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

A high-severity heap corruption vulnerability in FreeRDP clients (version 3.32.1 and earlier) can be triggered when connecting to a malicious RDP server, potentially crashing the client and corrupting memory. While exploitation requires specific conditions, the risk is elevated for remote and hybrid workers who regularly connect to external RDP endpoints, and no vendor patch is currently available.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis; interim mitigations include restricting outbound RDP connections to trusted servers, monitoring for client crashes, and disabling the GFX pipeline if operationally feasible.

Threat Intelligence Overview

EPSS Score
0.4%
Top 71% exploitable
Prevalence
Medium
widely used open-source RDP client on Linux desktops and thin clients
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
No
Human Impact
High
Technical Impact
Partial

Priority Score

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

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

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.

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