DescriptionFreeRDP before 3.34.0 contains a use-after-free vulnerability in the Windows RDPDR drive hotplug worker in rdpdr_main.c that occurs during channel teardown. When a session disconnects while the hotplug thread is still starting, drive_hotplug_thread_func() writes the window handle into the freed rdpdrPlugin structure, causing heap corruption or client crashes.