What’s Vulnerable › Vulnerabilities

CVE-2026-25997: FreeRDP has heap-use-after-free in xf_clipboard_format_equal

Description

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.

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-25997 or the next vulnerability affects your stack