CVEfocus › CVE database › CVE-2026-23531

CVE-2026-23531FreeRDP has heap-buffer-overflow in clear_decompress

CVSS 7.7 HighEPSS 0.9% (higher than 59% of CVEs)Published 2026-01-19Updated 2026-07-15Assigner: GitHub_M

FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to version 3.21.0, in ClearCodec, when `glyphData` is present, `clear_decompress` calls `freerdp_image_copy_no_overlap` 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.

CWE-122

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

42Fixed
6Fix pending
4Will not fix
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04freerdp3Not affected
vulnerable_code_not_present
Ubuntu 25.10freerdp3Fixed3.16.0+dfsg-2ubuntu0.3UBUNTU-CVE-2026-23531
Ubuntu 24.04freerdp2Fix pending2.11.5+dfsg1-1ubuntu0.1~esm3 (Ubuntu Pro)UBUNTU-CVE-2026-23531
Ubuntu 24.04freerdp3Fixed3.5.1+dfsg1-0ubuntu1.4UBUNTU-CVE-2026-23531
Ubuntu 22.04freerdp2Fixed2.6.1+dfsg1-3ubuntu2.8UBUNTU-CVE-2026-23531
Ubuntu 20.04freerdp2Fix pending2.6.1+dfsg1-0ubuntu0.20.04.2+esm1 (Ubuntu Pro)UBUNTU-CVE-2026-23531
Ubuntu 18.04freerdpFix pendingUBUNTU-CVE-2026-23531
Ubuntu 18.04freerdp2Fix pending2.2.0+dfsg1-0ubuntu0.18.04.4+esm3 (Ubuntu Pro)UBUNTU-CVE-2026-23531
Ubuntu 16.04freerdpFix pendingUBUNTU-CVE-2026-23531
Debian 14freerdp3Fixed3.21.0+dfsg-1DEBIAN-CVE-2026-23531
Debian 13freerdp3Fixed3.15.0+dfsg-2.1+deb13u1DEBIAN-CVE-2026-23531
Debian 12freerdp2Fix pendingDEBIAN-CVE-2026-23531
Red Hat Enterprise Linux 10freerdpFixed2:3.10.3-5.el10_1.1RHSA-2026:2222
Red Hat Enterprise Linux 10freerdp-develFixed2:3.10.3-5.el10_1.1RHSA-2026:2222
Red Hat Enterprise Linux 10freerdp-libsFixed2:3.10.3-5.el10_1.1RHSA-2026:2222
Red Hat Enterprise Linux 10freerdp-serverFixed2:3.10.3-5.el10_1.1RHSA-2026:2222
Red Hat Enterprise Linux 10libwinprFixed2:3.10.3-5.el10_1.1RHSA-2026:2222
Red Hat Enterprise Linux 10libwinpr-develFixed2:3.10.3-5.el10_1.1RHSA-2026:2222
Red Hat Enterprise Linux 9freerdpFixed2:2.11.7-1.el9_7.1RHSA-2026:2048
Red Hat Enterprise Linux 9freerdp-develFixed2:2.11.7-1.el9_7.1RHSA-2026:2048
Red Hat Enterprise Linux 9freerdp-libsFixed2:2.11.7-1.el9_7.1RHSA-2026:2048
Red Hat Enterprise Linux 9libwinprFixed2:2.11.7-1.el9_7.1RHSA-2026:2048
Red Hat Enterprise Linux 9libwinpr-develFixed2:2.11.7-1.el9_7.1RHSA-2026:2048
Red Hat Enterprise Linux 8freerdpFixed2:2.11.7-2.el8_10RHSA-2026:2081
Red Hat Enterprise Linux 8freerdp-develFixed2:2.11.7-2.el8_10RHSA-2026:2081
Red Hat Enterprise Linux 8freerdp-libsFixed2:2.11.7-2.el8_10RHSA-2026:2081
Red Hat Enterprise Linux 8libwinprFixed2:2.11.7-2.el8_10RHSA-2026:2081
Red Hat Enterprise Linux 8libwinpr-develFixed2:2.11.7-2.el8_10RHSA-2026:2081
Red Hat Enterprise Linux 6freerdpWill not fix
Will not fix
Red Hat Enterprise Linux 6freerdp-develWill not fix
Will not fix
Red Hat Enterprise Linux 6freerdp-libsWill not fix
Will not fix
Red Hat Enterprise Linux 6freerdp-pluginsWill not fix
Will not fix
AlmaLinux 10freerdpFixed2:3.10.3-5.el10_1.1ALSA-2026:2222
AlmaLinux 10freerdp-develFixed2:3.10.3-5.el10_1.1ALSA-2026:2222
AlmaLinux 10freerdp-libsFixed2:3.10.3-5.el10_1.1ALSA-2026:2222
AlmaLinux 10freerdp-serverFixed2:3.10.3-5.el10_1.1ALSA-2026:2222
AlmaLinux 10libwinprFixed2:3.10.3-5.el10_1.1ALSA-2026:2222
AlmaLinux 10libwinpr-develFixed2:3.10.3-5.el10_1.1ALSA-2026:2222
AlmaLinux 9freerdpFixed2:2.11.7-1.el9_7.1ALSA-2026:2048
AlmaLinux 9freerdp-develFixed2:2.11.7-1.el9_7.1ALSA-2026:2048
AlmaLinux 9freerdp-libsFixed2:2.11.7-1.el9_7.1ALSA-2026:2048
AlmaLinux 9libwinprFixed2:2.11.7-1.el9_7.1ALSA-2026:2048
AlmaLinux 9libwinpr-develFixed2:2.11.7-1.el9_7.1ALSA-2026:2048
AlmaLinux 8freerdpFixed2:2.11.7-2.el8_10ALSA-2026:2081
AlmaLinux 8freerdp-develFixed2:2.11.7-2.el8_10ALSA-2026:2081
AlmaLinux 8freerdp-libsFixed2:2.11.7-2.el8_10ALSA-2026:2081
AlmaLinux 8libwinprFixed2:2.11.7-2.el8_10ALSA-2026:2081
AlmaLinux 8libwinpr-develFixed2:2.11.7-2.el8_10ALSA-2026:2081
Rocky Linux 10freerdpFixed2:3.10.3-5.el10_1.1RLSA-2026:2222
Rocky Linux 9freerdpFixed2:2.11.7-1.el9_7.1RLSA-2026:2048
Rocky Linux 8freerdpFixed2:2.11.7-2.el8_10RLSA-2026:2081
Alpine Linux 3.24freerdpFixed3.21.0-r0ALPINE-CVE-2026-23531
Alpine Linux 3.23freerdpFixed3.22.0-r0ALPINE-CVE-2026-23531

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.