REDHAT-BUG-2567941: Use After Free
FreeRDP before 3.32.2 has a use-after-free in the client's rdpgfx dynamic virtual channel: a duplicate-name channel with a new ChannelId overwrites the listener's single callback slot, which rdpgfxonclose frees without clearing. A malicious RDP server can open and close such a channel, then send a PDU on the original channel to crash the client or potentially execute code.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue?
A malicious RDP server can exploit a vulnerable FreeRDP client. The client must connect to that server and process the server's rdpgfx dynamic virtual channel activity.
What does exploitation require from the attacker?
The attacker needs to operate or control an RDP server that the vulnerable client connects to. The server opens a duplicate-name rdpgfx channel using a new ChannelId, closes it, and then sends a PDU on the original channel.
What is the likely impact on an affected client?
The malformed channel sequence can cause the FreeRDP client to crash. The issue may also allow code execution, as the client can later use a callback that was freed without being cleared.
Which versions are affected?
FreeRDP versions before 3.32.2 are affected according to the available information.