CVE-2026-125394

FreeRDP before 3.33.0 Use-After-Free via Stale Brush Cache Pointer

Published Nov 9, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

FreeRDP versions prior to 3.33.0 contain a heap use‑after‑free flaw in the functions update_gdi_patblt(), update_gdi_polygon_cb(), and update_gdi_mem3blt(). The flaw arises when a stale pointer to a brush cache element is retained; a malicious RDP server can send a CACHE_BRUSH command to reuse the same cache slot followed by a PATBLT command, which causes the client to dereference freed heap memory. Accessing this memory can expose sensitive data or terminate the client process, resulting in a denial of service. This flaw maps to CWE‑416 and CWE‑825.

Affected Systems

All installations of FreeRDP older than 3.33.0 are affected, including release 3.32.2 and earlier. The vulnerability applies to every client that connects to an RDP server using the legacy brush caching mechanism.

Risk and Exploitability

The CVSS score of 5.3 indicates moderate severity, but the exploitability remains high because a remote RDP server can trigger it at will. EPSS score of 0.212% indicates a very low probability of exploitation in the wild, and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector can be inferred from the description: a malicious RDP server that can control the protocol can send a CACHE_BRUSH command to reuse a brush cache slot followed by a PATBLT or MEM3BLT command, which forces the client to dereference freed heap memory, potentially leaking data or causing a crash.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade every FreeRDP client to version 3.33.0 or later, which removes the stale cache pointer references.
  • Replace any embedded or packaged FreeRDP libraries with verified, patched binaries before deployment.
  • Enforce least privilege for RDP servers: restrict the ability to send arbitrary CACHE_BRUSH and PATBLT commands, and monitor for anomalous RDP traffic that may indicate exploitation attempts.

Generated by OpenCVE AI on November 15, 2026 at 09:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title FreeRDP before 3.33.0 Use-After-Free via Stale Brush Cache Pointer
First Time appeared Freerdp
Freerdp freerdp
Weaknesses CWE-416
CPEs cpe:2.3:a:freerdp:freerdp:*:*:*:*:*:*:*:*
Vendors & Products Freerdp
Freerdp freerdp
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 13, 2026, 2:51 PM
Reserved
Nov 9, 2026, 10:03 PM
Status
Analyzed
Published
Nov 10, 2026, 12:17 AM
Modified
Dec 3, 2026, 9:12 PM
Severity
Moderate
Public date
Nov 9, 2026, 11:27 PM