CVEfocus › CVE database › CVE-2023-39356

CVE-2023-39356Missing offset validation leading to Out-of-Bounds Read in FreeRDP

CVSS 5.3 MediumEPSS 2.0% (higher than 81% of CVEs)Published 2023-08-31Updated 2025-11-03Assigner: GitHub_M

FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. In affected versions a missing offset validation may lead to an Out Of Bound Read in the function `gdi_multi_opaque_rect`. In particular there is no code to validate if the value `multi_opaque_rect->numRectangles` is less than 45. Looping through `multi_opaque_rect->`numRectangles without proper boundary checks can lead to Out-of-Bounds Read errors which will likely lead to a crash. This issue has been addressed in versions 2.11.0 and 3.0.0-beta3. Users are advised to upgrade. There are no known workarounds for this vulnerability.

CWE-125

What to do

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

Ubuntu has 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

13Fixed
1Fix pending
15Will not fix

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 22.04freerdp2Fixed2.6.1+dfsg1-3ubuntu2.5UBUNTU-CVE-2023-39356
Ubuntu 20.04freerdp2Fixed2.2.0+dfsg1-0ubuntu0.20.04.6UBUNTU-CVE-2023-39356
Ubuntu 18.04freerdp2Fix pending2.2.0+dfsg1-0ubuntu0.18.04.4+esm2 (Ubuntu Pro)UBUNTU-CVE-2023-39356
Debian 12freerdp2Fixed2.11.7+dfsg1-6~deb12u1DEBIAN-CVE-2023-39356
Red Hat Enterprise Linux 9freerdpFixed2:2.11.2-1.el9RHSA-2024:2208
Red Hat Enterprise Linux 9freerdp-develFixed2:2.11.2-1.el9RHSA-2024:2208
Red Hat Enterprise Linux 9freerdp-libsFixed2:2.11.2-1.el9RHSA-2024:2208
Red Hat Enterprise Linux 9libwinprFixed2:2.11.2-1.el9RHSA-2024:2208
Red Hat Enterprise Linux 9libwinpr-develFixed2:2.11.2-1.el9RHSA-2024:2208
Red Hat Enterprise Linux 8freerdpWill not fix
Will not fix
Red Hat Enterprise Linux 8freerdp-develWill not fix
Will not fix
Red Hat Enterprise Linux 8freerdp-libsWill not fix
Will not fix
Red Hat Enterprise Linux 8libwinprWill not fix
Will not fix
Red Hat Enterprise Linux 8libwinpr-develWill not fix
Will not fix
Red Hat Enterprise Linux 7freerdpWill not fix
Out of support scope
Red Hat Enterprise Linux 7freerdp-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7freerdp-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 7freerdp-pluginsWill not fix
Out of support scope
Red Hat Enterprise Linux 7libwinprWill not fix
Out of support scope
Red Hat Enterprise Linux 7libwinpr-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6freerdpWill not fix
Out of support scope
Red Hat Enterprise Linux 6freerdp-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6freerdp-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 6freerdp-pluginsWill not fix
Out of support scope
AlmaLinux 9freerdpFixed2:2.11.2-1.el9ALSA-2024:2208
AlmaLinux 9freerdp-develFixed2:2.11.2-1.el9ALSA-2024:2208
AlmaLinux 9freerdp-libsFixed2:2.11.2-1.el9ALSA-2024:2208
AlmaLinux 9libwinprFixed2:2.11.2-1.el9ALSA-2024:2208
AlmaLinux 9libwinpr-develFixed2:2.11.2-1.el9ALSA-2024:2208

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.