CVE-2026-23531: FreeRDP has heap-buffer-overflow in clear_decompress
FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to version 3.21.0, in ClearCodec, when glyphData is present, cleardecompress calls freerdpimagecopynooverlap without validating the destination rectangle, allowing an out-of-bounds read/write via crafted RDPGFX surface updates. 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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/freerdp2to a version that resolves this vulnerability.Fixed in 2.2.0+dfsg1-0ubuntu0.18.04.4+esm3 - Upgrade
Upgrade
ubuntu/freerdp2to a version that resolves this vulnerability.Fixed in 2.6.1+dfsg1-0ubuntu0.20.04.2+esm1 - Upgrade
Upgrade
ubuntu/freerdp2to a version that resolves this vulnerability.Fixed in 2.6.1+dfsg1-3ubuntu2.8 - Upgrade
Upgrade
ubuntu/freerdp3to a version that resolves this vulnerability.Fixed in 3.5.1+dfsg1-0ubuntu1.4 - Upgrade
Upgrade
ubuntu/freerdp2to a version that resolves this vulnerability.Fixed in 2.11.5+dfsg1-1ubuntu0.1~esm3 - Upgrade
Upgrade
ubuntu/freerdp3to a version that resolves this vulnerability.Fixed in 3.16.0+dfsg-2ubuntu0.3 - Upgrade
Upgrade
alpine/freerdpto a version that resolves this vulnerability.Fixed in 3.22.0-r0 - Upgrade
Upgrade
alpine/freerdpto a version that resolves this vulnerability.Fixed in 3.21.0-r0 - Upgrade
Upgrade
debian/freerdp2to a version that resolves this vulnerability.Fixed in 2.11.7+dfsg1-6~deb12u2 - Upgrade
Upgrade
debian/freerdp3to a version that resolves this vulnerability.Fixed in 3.15.0+dfsg-2.1+deb13u1 - Upgrade
Upgrade
debian/freerdp3to a version that resolves this vulnerability.Fixed in 3.21.0+dfsg-1 - Upgrade
Upgrade
debian/freerdp3to a version that resolves this vulnerability.Fixed in 3.15.0+dfsg-2.1+deb13u1Fixed in 3.21.0+dfsg-1 - Upgrade
Upgrade
FreeRDPto a version that resolves this vulnerability.Fixed in 3.21.0
Event History
Frequently Asked Questions
What is the severity of CVE-2026-23531?
CVE-2026-23531 has a high severity rating due to its potential for exploiting heap-buffer-overflow vulnerabilities.
How do I fix CVE-2026-23531?
To fix CVE-2026-23531, update FreeRDP to version 3.21.0 or later.
What are the consequences of exploiting CVE-2026-23531?
Exploiting CVE-2026-23531 can lead to unauthorized access, data corruption, or system crashes.
In which versions of FreeRDP does CVE-2026-23531 exist?
CVE-2026-23531 affects FreeRDP versions prior to 3.21.0.
What component of FreeRDP is affected by CVE-2026-23531?
CVE-2026-23531 specifically affects the ClearCodec component in FreeRDP's clear_decompress function.