CVE-2026-23532 FreeRDP has heap-buffer-overflow in gdi_SurfaceToSurface

High 7.7 Published Updated

A malicious RDP server can trigger a heap buffer overflow in the FreeRDP client, causing crashes or potential code execution.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-23532?

CVE-2026-23532 is a high-severity memory corruption vulnerability in Freerdp Freerdp, published on 19 Jan 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-122

Which versions are affected by CVE-2026-23532?

It affects 1 product.

Products include Freerdp Freerdp.

How do I fix CVE-2026-23532?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2026-23532 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-23532 exists.

All Freerdp Freerdp vulnerabilities

Sources

Also known as DEBIAN-CVE-2026-23532, GHSA-fq8c-87hj-7gvr, MINI-j4jv-x723-w65c, UBUNTU-CVE-2026-23532.

Is CVE-2026-23532 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free