# CVE-2026-125394: FreeRDP before 3.33.0 Use-After-Free via Stale Brush Cache Pointer

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-09 · Modified: 2026-11-13
- Aliases: DEBIAN-CVE-2026-125394, UBUNTU-CVE-2026-125394
- Record: https://cvemate.com/vulnerability/CVE-2026-125394 · JSON: https://cvemate.com/vulnerability/CVE-2026-125394/json

## Description

```text
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.
```

## Signals

- CVSS: 7.1 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
- EPSS: 0.377%, percentile 33.711%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 2 (github, reference)

## Affected

- debian freerdp2 (Debian): All versions (No fix recorded)
- debian freerdp3 (Debian): All versions (No fix recorded) \| \< 3.33.0+dfsg-1
- ubuntu freerdp (Ubuntu): All versions (No fix recorded)
- freerdp freerdp: \< 3.33.0

## References

- <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://security-tracker.debian.org/tracker/CVE-2026-125394>
- <https://ubuntu.com/security/CVE-2026-125394>
- <https://www.cve.org/CVERecord?id=CVE-2026-125394>

---

Data as of 2026-12-05T04:50:40.517Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
