All reports
Medium

freerdp: FreeRDP: Information disclosure via stale brush cache use-after-free

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-125394

Probability of exploitation in the next 30 days: 0.33%

FIRST EPSS · 2026-11-23

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.

A flaw was found in FreeRDP. A malicious Remote Desktop Protocol (RDP) server can exploit this use-after-free vulnerability by sending a crafted sequence of graphical drawing orders that reference invalidated brush cache data. As a result, the client reads freed memory from the heap, which may lead to information disclosure or a Denial of Service (DoS) caused by an application crash.