CVE-2026-25997 MEDIUM

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

Vendor Freerdp
Product FreeRDP
Weakness CWE-416
Published February 25, 2026
Last update February 25, 2026

CVSS base score

5.5/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality
Integrity

CVSS vector

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

February 25, 2026 CVE published
February 25, 2026 Record updated