Use-After-Free in FreeRDP
CVE-2023-40187
7.3HIGH
What is CVE-2023-40187?
FreeRDP, an open-source implementation of the Remote Desktop Protocol (RDP), contains a Use-After-Free vulnerability in its 3.x beta versions. This vulnerability occurs in the avc420_ensure_buffer
and avc444_ensure_buffer
functions when the destination size is not correctly handled, leading to the potential misuse of freed memory. Specifically, if piDstSize[x]
is set to zero, ppYUVDstData[x]
gets freed without being updated, which can result in unpredictable behavior or a crash. Users utilizing affected beta releases are strongly advised to update to version 3.0.0-beta3, as there are no known workarounds for this vulnerability.
Affected Version(s)
FreeRDP >= 3.0.0-beta1, < 3.0.0-beta3