FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to version 3.23.0, xf_clipboard_format_equal reads freed lastSentFormats memory because xf_clipboard_formats_free (called from the cliprdr channel thread during auto-reconnect) frees the array while the X11 event thread concurrently iterates it in xf_clipboard_changed, triggering a heap use after free. Version 3.23.0 fixes the issue.
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory “belongs” to the code that operates on the new pointer.
| Name | Vendor | Start Version | End Version |
|---|---|---|---|
| Freerdp | Freerdp | * | 3.23.0 (excluding) |