CVEfocus › CVE database › CVE-2026-33987

CVE-2026-33987FreeRDP: Persistent Cache bmpSize Desync - Heap OOB Write

CVSS 7.1 HighEPSS 0.2% (higher than 4% of CVEs)Published 2026-03-30Updated 2026-03-31Assigner: GitHub_M

FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to version 3.24.2, in persistent_cache_read_entry_v3() in libfreerdp/cache/persistent.c, persistent->bmpSize is updated before winpr_aligned_recalloc(). If realloc fails, bmpSize is inflated while bmpData points to the old buffer. This issue has been patched in version 3.24.2.

CWE-122CWE-131

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

18Fixed
6Fix pending
1Under investigation
5Will not fix
17Not 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.10freerdp3Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-33987
Ubuntu 24.04freerdp2Fix pendingUBUNTU-CVE-2026-33987
Ubuntu 24.04freerdp3Fixed3.30.0+dfsg-0ubuntu0.24.04.1UBUNTU-CVE-2026-33987
Ubuntu 22.04freerdp2Under investigationUBUNTU-CVE-2026-33987
Ubuntu 20.04freerdp2Fix pendingUBUNTU-CVE-2026-33987
Ubuntu 18.04freerdpFix pendingUBUNTU-CVE-2026-33987
Ubuntu 18.04freerdp2Fix pendingUBUNTU-CVE-2026-33987
Ubuntu 16.04freerdpFix pendingUBUNTU-CVE-2026-33987
Debian 14freerdp3Fixed3.24.2+dfsg-1DEBIAN-CVE-2026-33987
Debian 13freerdp3Fixed3.15.0+dfsg-2.1+deb13u2DEBIAN-CVE-2026-33987
Debian 12freerdp2Fix pendingDEBIAN-CVE-2026-33987
Red Hat Enterprise Linux 10freerdpFixed2:3.10.3-12.el10_2.5RHSA-2026:16014
Red Hat Enterprise Linux 10freerdp-develFixed2:3.10.3-12.el10_2.5RHSA-2026:16014
Red Hat Enterprise Linux 10freerdp-libsFixed2:3.10.3-12.el10_2.5RHSA-2026:16014
Red Hat Enterprise Linux 10freerdp-serverFixed2:3.10.3-5.el10_1.8RHSA-2026:19142
Red Hat Enterprise Linux 10libwinprFixed2:3.10.3-12.el10_2.5RHSA-2026:16014
Red Hat Enterprise Linux 10libwinpr-develFixed2:3.10.3-12.el10_2.5RHSA-2026:16014
Red Hat Enterprise Linux 9freerdpNot affected
Red Hat Enterprise Linux 9freerdp-develNot affected
Red Hat Enterprise Linux 9freerdp-libsNot affected
Red Hat Enterprise Linux 9libwinprNot affected
Red Hat Enterprise Linux 9libwinpr-develNot affected
Red Hat Enterprise Linux 8freerdpNot affected
Red Hat Enterprise Linux 8freerdp-develNot affected
Red Hat Enterprise Linux 8freerdp-libsNot affected
Red Hat Enterprise Linux 8libwinprNot affected
Red Hat Enterprise Linux 8libwinpr-develNot affected
Red Hat Enterprise Linux 7freerdpNot affected
Red Hat Enterprise Linux 7freerdp-develNot affected
Red Hat Enterprise Linux 7freerdp-libsNot affected
Red Hat Enterprise Linux 7freerdp-pluginsNot affected
Red Hat Enterprise Linux 7libwinprNot affected
Red Hat Enterprise Linux 7libwinpr-develNot affected
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.8ALSA-2026:16014
AlmaLinux 10freerdp-develFixed2:3.10.3-5.el10_1.8ALSA-2026:16014
AlmaLinux 10freerdp-libsFixed2:3.10.3-5.el10_1.8ALSA-2026:16014
AlmaLinux 10freerdp-serverFixed2:3.10.3-5.el10_1.8ALSA-2026:16014
AlmaLinux 10libwinprFixed2:3.10.3-5.el10_1.8ALSA-2026:16014
AlmaLinux 10libwinpr-develFixed2:3.10.3-5.el10_1.8ALSA-2026:16014
Rocky Linux 10freerdpFixed2:3.10.3-12.el10_2.5RLSA-2026:16014
Alpine Linux 3.24freerdpFixed3.24.2-r0ALPINE-CVE-2026-33987
Alpine Linux 3.23freerdpFixed3.24.2-r0ALPINE-CVE-2026-33987

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.