Skip to content
OpenAdvisories
Medium · 5.3 CVE-2023-39356 EUVD-2023-43082

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

Published Aug 31, 2023 · Updated Nov 3, 2025 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
FreeRDP FreeRDP < 2.11.0, >= 3.0.0-beta1, < 3.0.0-beta3 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 12 freerdp2 2.11.7+dfsg1-6~deb12u1 —
Debian 11 freerdp2 2.3.0+dfsg1-2+deb11u2 DLA-4053-1
Debian 10 freerdp2 2.3.0+dfsg1-2+deb10u3 DLA-3606-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS freerdp2 2.6.1+dfsg1-3ubuntu2.5 USN-6522-1
Ubuntu 20.04 LTS freerdp2 2.2.0+dfsg1-0ubuntu0.20.04.6 USN-6522-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS freerdp2 2.2.0+dfsg1-0ubuntu0.18.04.4+esm2 USN-6522-2
ReleasePackageFixed inAdvisory
RHEL 9 freerdp +4 2:2.11.2-1.el9 RHSA-2024:2208

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 freerdp +4 2:2.11.2-1.el9 ALSA-2024:2208
ReleasePackageFixed inAdvisory
SLES 15 SP5 freerdp 2.4.0-150400.3.23.1 SUSE-SU-2023:4893-1
SLES 15 SP4 freerdp 2.4.0-150400.3.23.1 SUSE-SU-2023:4893-1
SLES 12 SP5 freerdp 2.1.2-12.38.1 SUSE-SU-2023:4611-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed freerdp2 2.11.2-3.1 openSUSE-SU-2024:13504-1
openSUSE Leap 15.5 freerdp 2.4.0-150400.3.23.1 SUSE-SU-2023:4893-1
openSUSE Leap 15.4 freerdp 2.4.0-150400.3.23.1 SUSE-SU-2023:4893-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 freerdp +4 2:2.11.1-1.amzn2.0.1 ALAS2-2023-2269

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 freerdp +4 2:2.11.2-1.el9 ELSA-2024-2208

Advisories 12

References