CVE-2026-25997Use After Free in Freerdp

Severity
5.5MEDIUMNVD
EPSS
0.2%
top 63.18%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedFeb 25
Latest updateMar 18

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.

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

Affected Packages4 packages

CVEListV5freerdp/freerdp< 3.23.0
NVDfreerdp/freerdp< 3.23.0
debiandebian/freerdp2< freerdp3 3.23.0+dfsg-1 (forky)
debiandebian/freerdp3< freerdp3 3.23.0+dfsg-1 (forky)

Patches

🔴Vulnerability Details

2
OSV
CVE-2026-25997: FreeRDP is a free implementation of the Remote Desktop Protocol2026-02-25
CVEList
FreeRDP has heap-use-after-free in xf_clipboard_format_equal2026-02-25

📋Vendor Advisories

3
Ubuntu
FreeRDP vulnerabilities2026-03-18
Red Hat
freerdp: FreeRDP: Denial of service via heap use-after-free during auto-reconnect2026-02-25
Debian
CVE-2026-25997: freerdp2 - FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to versio...2026

🕵️Threat Intelligence

1
Wiz
CVE-2026-25997 Impact, Exploitability, and Mitigation Steps | Wiz