Remote Desktop Protocol Implementation Flaw in FreeRDP
CVE-2026-33986
7.5HIGH
What is CVE-2026-33986?
A buffer management issue exists in FreeRDP's implementation of the Remote Desktop Protocol prior to version 3.24.2. Specifically, within the function yuv_ensure_buffer() in libfreerdp/codec/h264.c, the height and width parameters are updated prematurely before the memory reallocation loop. If a winpr_aligned_recalloc() function call fails, the function will return FALSE but the height and width values will have already been inflated, potentially leading to unintended behavior. This vulnerability has been addressed and patched in version 3.24.2, ensuring that the height and width values only reflect valid allocations.
Affected Version(s)
FreeRDP < 3.24.2
