PT-2023-4667 · Freerdp · Freerdp

·

CVE-2023-39355

·

Published

2023-07-28

·

Updated

2025-02-15

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions FreeRDP versions prior to 3.0.0-beta3
Description The issue is related to a Use-After-Free in processing RDPGFX CMDID RESETGRAPHICS packets. If context->maxPlaneSize is 0, context->planesBuffer will be freed, but without updating context->planesBuffer, this leads to a Use-After-Free exploit vector. In most environments, this should only result in a crash.
Recommendations For FreeRDP versions prior to 3.0.0-beta3, upgrade to version 3.0.0-beta3 or later to address the issue. As a temporary workaround, consider restricting access to the RDPGFX CMDID RESETGRAPHICS packet processing functionality until a patch is available. However, since this issue has been addressed in version 3.0.0-beta3, the best course of action is to upgrade to this version or later.

Exploit

Fix

Use After Free

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

Weakness Enumeration

Related Identifiers

BDU:2023-05080
CVE-2023-39355
DLA-3606-1
DLA-4053-1
GHSA-HVWJ-VMG6-2F5H

Affected Products

Freerdp