# CVE-2026-23884: Heap-use-after-free in gdi\_set\_bounds

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability: affected before 3.21.0 (CNA); fix release not confirmed
- Status: published
- Published: 2026-01-19 · Modified: 2026-07-15
- Aliases: UBUNTU-CVE-2026-23884, DEBIAN-CVE-2026-23884, CGA-457r-x32m-255f, CGA-4jhh-fphw-7fqr, CGA-m3jc-v3f2-pjrf, CGA-qr3r-rfj7-9mj6, ALPINE-CVE-2026-23884
- Record: https://cvemate.com/vulnerability/CVE-2026-23884 · JSON: https://cvemate.com/vulnerability/CVE-2026-23884/json

## Description

```text
FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to version 3.21.0, offscreen bitmap deletion leaves `gdi->drawing` pointing to freed memory, causing UAF when related update packets arrive. A malicious server can trigger a client‑side use after free, causing a crash (DoS) and potential heap corruption with code‑execution risk depending on allocator behavior and surrounding heap layout. Version 3.21.0 contains a patch for the issue.
```

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.484%, percentile 43.348%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- alpine freerdp (Alpine Linux): \< 3.22.0-r0 \| \< 3.21.0-r0
- chainguard freerdp-dev (Chainguard): All versions (No fix recorded)
- chainguard freerdp-libs (Chainguard): All versions (No fix recorded)
- wolfi freerdp-dev (Wolfi): All versions (No fix recorded)
- wolfi freerdp-libs (Wolfi): All versions (No fix recorded)
- debian freerdp2 (Debian): All versions (No fix recorded) \| \< 2.11.7+dfsg1-6~deb12u2
- debian freerdp3 (Debian): \< 3.15.0+dfsg-2.1+deb13u1 \| \< 3.21.0+dfsg-1
- ubuntu freerdp (Ubuntu): All versions (No fix recorded)
- ubuntu freerdp2 (Ubuntu): All versions (No fix recorded)
- ubuntu freerdp3 (Ubuntu): \< 3.5.1+dfsg1-0ubuntu1.4 \| \< 3.16.0+dfsg-2ubuntu0.3
- freerdp freerdp: \< 3.21.0

## References (first 20 of 27)

- <https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-cfgj-vc84-f3pp>
- <https://github.com/FreeRDP/FreeRDP/blob/3370e30e92a021eb680892dda14d642bc8b8727c/libfreerdp/cache/offscreen.c#L114-L122>
- <https://github.com/FreeRDP/FreeRDP/blob/3370e30e92a021eb680892dda14d642bc8b8727c/libfreerdp/cache/offscreen.c#L87-L91>
- <https://github.com/FreeRDP/FreeRDP/releases/tag/3.21.0>
- <https://access.redhat.com/security/cve/CVE-2026-23884>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2430880>
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-23884.json>
- <https://access.redhat.com/errata/RHSA-2026:2714>
- <https://access.redhat.com/errata/RHSA-2026:2952>
- <https://access.redhat.com/errata/RHSA-2026:2222>
- <https://access.redhat.com/errata/RHSA-2026:2081>
- <https://access.redhat.com/errata/RHSA-2026:3039>
- <https://access.redhat.com/errata/RHSA-2026:3038>
- <https://access.redhat.com/errata/RHSA-2026:3036>
- <https://access.redhat.com/errata/RHSA-2026:3041>
- <https://access.redhat.com/errata/RHSA-2026:2770>
- <https://access.redhat.com/errata/RHSA-2026:2824>
- <https://access.redhat.com/errata/RHSA-2026:2736>
- <https://access.redhat.com/errata/RHSA-2026:3037>
- <https://access.redhat.com/errata/RHSA-2026:2048>

---

Data as of 2026-12-06T06:44:59.760Z. 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
