FreeRDP <3.33.0 heap UAF in GDI brush cache (PATBLT/POLYGON/MEM3BLT)
CVE-2026-125394 Published on November 9, 2026

FreeRDP before 3.33.0 Use-After-Free via Stale Brush Cache Pointer
FreeRDP before 3.33.0 contains a heap use-after-free vulnerability in update_gdi_patblt(), update_gdi_polygon_cb() and update_gdi_mem3blt() that retain stale brush cache pointers. A malicious RDP server can resend CACHE_BRUSH to the same slot then send PATBLT, causing clients to read freed heap memory, disclosing data or crashing.

Vendor Advisory NVD

A proof of concept, or POC exists for this vulnerability.

Vulnerability Analysis

CVE-2026-125394 is exploitable with network access. This vulnerability is considered to have a low attack complexity. Public availability of a proof of concept (POC) exploit exists for CVE-2026-125394. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality and integrity and availability.

Exploitation:
POC
Automatable:
NO
Technical Impact:
PARTIAL
Attack Vector:
NETWORK
Attack Complexity:
LOW
Privileges Required:
NONE
User Interaction:
PASSIVE

Weakness Type

What is a Dangling pointer Vulnerability?

Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code.

CVE-2026-125394 has been classified to as a Dangling pointer vulnerability or weakness.


Products Associated with CVE-2026-125394

Want to know whenever a new CVE is published for FreeRDP? stack.watch will email you.

Affected Versions

FreeRDP:

Exploit Probability

EPSS
0.21%
Percentile
11.65%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.