PT-2023-4670 · Freerdp+8 · Freerdp+8

Pwn2Carr

·

Published

2023-07-28

·

Updated

2025-04-10

·

CVE-2023-39356

CVSS v3.1

9.1

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Name of the Vulnerable Software and Affected Versions FreeRDP versions prior to 2.11.0 FreeRDP versions prior to 3.0.0-beta3
Description The issue is related to a missing offset validation in the gdi multi opaque rect function, which can lead to an Out Of Bound Read error. This occurs when the value of multi opaque rect->numRectangles is not properly validated, allowing for looping through multi opaque rect->numRectangles without boundary checks. This can result in a crash.
Recommendations For versions prior to 2.11.0, upgrade to version 2.11.0 or later. For versions prior to 3.0.0-beta3, upgrade to version 3.0.0-beta3 or later. As a temporary workaround, consider restricting access to the gdi multi opaque rect function until a patch is available. Avoid using the multi opaque rect->numRectangles variable in the affected function without proper boundary checks until the issue is resolved.

Exploit

Fix

Out of bounds Read

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2024:2208
ALT-PU-2023-5489
ALT-PU-2023-5490
ALT-PU-2023-6067
BDU:2023-05083
CVE-2023-39356
DLA-3606-1
DLA-4053-1
GHSA-Q5V5-QHJ5-MH6M
INFSA-2024_2208
OESA-2023-1656
OPENSUSE-SU-2023_4893-1
OPENSUSE-SU-2024:13504-1
RHSA-2024:2208
RHSA-2024_2208
SUSE-SU-2023:4611-1
SUSE-SU-2023:4893-1
USN-6522-1
USN-6522-2

Affected Products

Alt Linux
Almalinux
Astra Linux
Debian
Freerdp
Linuxmint
Red Hat
Suse
Ubuntu