medium5.4
CVE-2026-125394
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 b…
Impact
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.
An attacker can exploit this over the network, without logging in, but a user has to do something, such as open a file or a link. If it succeeds: low risk of data being read, low risk of outages.
Affected products · FreeRDP
| Product | Affected versions |
|---|---|
| FreeRDP | before 3.33.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-fw6x-h8gw-778w
- https://github.com/FreeRDP/FreeRDP/commit/ffc6b976e3589b768e8e279bc61dfb7b5896e832
- https://github.com/FreeRDP/FreeRDP/releases/tag/3.33.0
- https://github.com/FreeRDP/FreeRDP/blob/3.32.2/libfreerdp/cache/brush.c#L80
- https://www.vulncheck.com/advisories/freerdp-before-3.33.0-use-after-free-via-stale-brush-cache-pointer
- https://github.com/advisories/GHSA-wc3j-h7qp-27j9
- https://nvd.nist.gov/vuln/detail/CVE-2026-125394