What’s Vulnerable › Vulnerabilities

CVE-2026-26986: FreeRDP has heap-use-after-free in rail_window_free

Description

FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to version 3.23.0, `rail_window_free` dereferences a freed `xfAppWindow` pointer during `HashTable_Free` cleanup because `xf_rail_window_common` calls `free(appWindow)` on title allocation failure without first removing the entry from the `railWindows` hash table, leaving a dangling pointer that is freed again on disconnect. Version 3.23.0 fixes the vulnerability.

Affected products

How to fix

Upgrade to a fixed version: FreeRDP 3.23.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-26986 or the next vulnerability affects your stack