# CVE-2026-23532: FreeRDP has heap-buffer-overflow in gdi\_SurfaceToSurface

- 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-23532, DEBIAN-CVE-2026-23532, CGA-297x-45gq-vh6h, CGA-6v48-m285-87h7, CGA-cxj9-p898-6j3h, CGA-pf64-w6x2-r7h6, ALPINE-CVE-2026-23532
- Record: https://cvemate.com/vulnerability/CVE-2026-23532 · JSON: https://cvemate.com/vulnerability/CVE-2026-23532/json

## Description

```text
FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to version 3.21.0, a client-side heap buffer overflow occurs in the  FreeRDP client’s `gdi_SurfaceToSurface` path due to a mismatch between destination rectangle clamping and the actual copy size. A malicious server can trigger a client‑side heap buffer overflow, 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.533%, percentile 46.533%, as of 2026-12-04
- 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)
- 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): \< 2.2.0+dfsg1-0ubuntu0.18.04.4+esm3 \| \< 2.6.1+dfsg1-0ubuntu0.20.04.2+esm1 \| \< 2.6.1+dfsg1-3ubuntu2.8 \| \< 2.11.5+dfsg1-1ubuntu0.1~esm3
- 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-fq8c-87hj-7gvr>
- <https://github.com/FreeRDP/FreeRDP/blob/38514dfa5813aa945a86cfbcec279033f8394468/libfreerdp/gdi/gfx.c#L1368-L1382>
- <https://github.com/FreeRDP/FreeRDP/releases/tag/3.21.0>
- <https://access.redhat.com/security/cve/CVE-2026-23532>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2430891>
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-23532.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>
- <https://ubuntu.com/security/CVE-2026-23532>

---

Data as of 2026-12-05T09:59:04.049Z. 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
