Vulnerability DatabaseCVE-2026-137459

CVE-2026-137459: 
Wolfi vulnerability analysis and mitigation

Overview

CVE-2026-137459 is an unbounded resource consumption and heap corruption vulnerability in FreeRDP's Progressive codec, dubbed GhostTiles. It affects FreeRDP versions 2.11.2 through 3.32.2 (inclusive), with version 3.33.0 being the first patched release. A malicious RDP server can exploit the flaw by sending RDPGFX_CAPROGRESSIVE WireToSurface2 commands with a constant frameId, causing unbounded memory growth, quadratic CPU cost, and a heap out-of-bounds write leading to client crashes. It carries a CVSS v3.1 base score of 7.5 (High) and a CVSS v4.0 base score of 8.7 (High) (GitHub Advisory).

Technical details

The root cause (CWE-400/CWE-407/CWE-787) lies in progressive_decompress() in libfreerdp/codec/progressive.c (lines 2459–2463), which only resets the per-frame tile update batch (numUpdatedTiles = 0) when frameId changes. If a server reuses a constant frameId — or never sends RDPGFX_START_FRAME (leaving gdi->frameId permanently at 0 per gfx.c:328) — the batch accumulates indefinitely: numUpdatedTiles grows by the frame's tile count on every command, update_tiles() re-blits the entire accumulated batch on each call (O(N²) CPU), and every 1,024 accumulated tiles trigger progressive_allocate_tile_cache() to allocate 1,024 new 65.6 KB tile buffers (~65 KB client RAM per 370 bytes of wire traffic). A secondary memory corruption flaw (CWE-787/CWE-690) exists in progressive_allocate_tile_cache() (progressive.c:397–453), which advances surface->gridSize before sub-allocations are committed; on any mid-growth allocation failure, the bounds guard in progressive_surface_tile_replace() becomes invalid, causing an out-of-bounds write of 4 bytes at progressive.c:536. An aggravating factor is that the decompressor returns success (rc=1) even after internal parse failures, so the client continues consuming attacker data after state corruption with no user-visible error (GitHub Advisory).

Impact

A malicious RDP server can drive a connecting FreeRDP client from 2.2 MB to 2,290 MB RSS using only 12.3 MB of server traffic (~186x wire-to-RAM amplification) within approximately 9 seconds, with per-command processing time growing quadratically (20.4 ms → 89.7 ms). On memory-constrained systems (thin clients, VMs, containers, or devices with 2–4 GB RAM), the attack deterministically crashes the client with SIGSEGV at approximately 145 commands under a 1.8 GB address-space budget. Under realistic allocator pressure, the heap out-of-bounds write and wild-pointer dereference escalate the impact beyond denial of service to potential memory corruption. No user interaction is required beyond the victim connecting to the attacker-controlled server (GitHub Advisory).

Exploitability

A proof-of-concept is publicly available via the GitHub Security Advisory (GHSA-v7hr-xh82-79p7), including PoC source code, an attack frame binary (attack_frame.bin), a server injection patch, and a results matrix. The attack requires no authentication and no user interaction beyond the victim initiating an RDP connection to a malicious server with the Progressive graphics path (/gfx /rfx) negotiated. As of the time of disclosure, there is no evidence of in-the-wild exploitation, and the EPSS score is 0.0. The vulnerability is not listed in the CISA KEV catalog (GitHub Advisory).

Exploitation steps

  1. Set up a malicious RDP server: Deploy a patched sfreerdp-server with the injection patch from the advisory, configured to serve a TLS-enabled RDP endpoint (e.g., --port=13389 --cert=... --key=...).
  2. Prepare the attack frame: Use the attack_frame.bin payload (~82,325 bytes) — a single RDPGFX_CAPROGRESSIVE WireToSurface2 PDU representing a 1060x827 surface with 221 tiles — attached to the advisory.
  3. Lure the victim client: Socially engineer or redirect a FreeRDP-based client to connect to the malicious server: xfreerdp /v:<attacker_ip>:13389 /u:tester /p:test /cert:ignore /sec:tls /gfx /rfx /size:1280x800.
  4. Negotiate Progressive graphics path: The server negotiates RDPGFX with CAPROGRESSIVE V8 capability; the client enables the vulnerable code path automatically when /gfx and /rfx are active.
  5. Repeatedly send the attack frame with constant frameId: Run the server with --attack=150 --interval=20 --frame=attack_frame.bin, sending the same PDU 150 times with an unchanged frameId (or without RDPGFX_START_FRAME).
  6. Observe unbounded memory growth: The client's numUpdatedTiles accumulates (0 → 6,630+ over 30 frames), RSS grows from 2.2 MB to ~2,290 MB, and per-command latency increases quadratically.
  7. Trigger crash or heap corruption: Under a ~1.8 GB address-space limit, the client SIGSEGVs at ~145 commands; under ASAN with fault injection, a heap-buffer-overflow WRITE of 4 bytes is confirmed at progressive.c:536 (GitHub Advisory).

Indicators of compromise

  • Network: Repeated inbound RDPGFX WireToSurface2 PDUs (~82 KB each) from the same RDP server with no variation in frameId; absence of RDPGFX_START_FRAME PDUs between surface commands; high-volume RDP traffic (>10 MB) from a single server in a short session.
  • Process: FreeRDP client process (xfreerdp) exhibiting rapidly growing RSS memory (hundreds of MB within seconds); increasing per-frame processing latency observable via system monitoring; client process terminating with SIGSEGV.
  • Logs: System OOM killer logs referencing the FreeRDP client process; core dumps from progressive_decompress with corrupted tile pointer values (e.g., rbx = 0x0000007400000073); application crash logs showing signal 11 (SIGSEGV) in progressive_decompress+0x191d.
  • File System: Unexpected core dump files (core.*) in the working directory of the FreeRDP client process following a session to an untrusted RDP server (GitHub Advisory).

Mitigation and workarounds

The fix is available in FreeRDP version 3.33.0, which resets the tile update batch unconditionally per progressive_decompress() call and commits gridSize/tilesSize only after all sub-allocations succeed (rolling back partial allocations on failure). Users should upgrade to FreeRDP 3.33.0 or later immediately. As a workaround where upgrading is not immediately possible, restrict FreeRDP client connections to trusted, verified RDP servers only, and avoid using the /gfx and /rfx flags when connecting to untrusted servers to prevent negotiation of the vulnerable Progressive graphics path. Network-level controls (firewall rules, VPN enforcement) limiting which RDP servers clients can connect to reduce exposure (GitHub Advisory).

Community reactions

The vulnerability was reported by researcher poxsky and published via the FreeRDP GitHub Security Advisory on November 9, 2026. The advisory is notably detailed, including measured amplification ratios, ASAN-proven heap corruption, and a verified patch, reflecting a high-quality security disclosure. No significant broader media coverage or social media discussion has been identified at the time of this report (GitHub Advisory).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Affected

bookworm

freerdp2

Affected

sid

freerdp3: 3.33.0+dfsg-1

Fixed

trixie

freerdp3

Affected

Ubuntu

Unknown

bionic (esm-apps)

freerdp

Unknown

bionic (esm-infra)

freerdp2

Unknown

devel

freerdp3

Unknown

focal (esm-infra)

freerdp2

Unknown

jammy

freerdp2

Unknown

noble

freerdp2

Unknown

noble (esm-apps)

freerdp2

Unknown

resolute

freerdp3

Unknown

RHEL / CentOS

Affected

RHEL 8

freerdp.src

Affected

RHEL 9

freerdp.src

Affected

RHEL 10

freerdp.src

Affected

Source: This report was generated using AI

Related Wolfi vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-137460HIGH8.7
  • Wolfi logoWolfi
  • freerdp-devel
NoYesNov 26, 2026
CVE-2026-137459HIGH8.7
  • Wolfi logoWolfi
  • freerdp3
NoYesNov 26, 2026
CVE-2026-137462HIGH7.1
  • Wolfi logoWolfi
  • freerdp
NoYesNov 26, 2026
CVE-2026-137458HIGH7.1
  • Wolfi logoWolfi
  • freerdp-server
NoYesNov 26, 2026
CVE-2026-137461MEDIUM6.9
  • Wolfi logoWolfi
  • freerdp2
NoYesNov 26, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management