CVE-2026-25997 - Vulnerability Analysis
CriticalCVSS: 9.8Last Updated: February 27, 2026
FreeRDP - Use After Free
Published: February 25, 2026Updated: February 27, 2026PoC AvailableRemote Exploitable
Overview
FreeRDP < 3.23.0 contains a use after free vulnerability caused by concurrent access to freed clipboard format memory in xf_clipboard_format_equal and xf_clipboard_formats_free, letting attackers cause heap corruption or crash, exploit requires concurrent clipboard activity during auto-reconnect.
Severity & Score
Severity: Critical
CVSS Score: 9.8
Impact
Attackers can cause heap corruption or application crash, potentially leading to denial of service or code execution.
Mitigation
Update to version 3.23.0 or later.
References
- https://github.com/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_cliprdr.c#L1884
- https://github.com/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_cliprdr.c#L1889
- https://github.com/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_cliprdr.c#L265
- https://github.com/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_cliprdr.c#L616
- https://github.com/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_cliprdr.c#L831
- https://github.com/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_cliprdr.c#L868-L875
- https://github.com/FreeRDP/FreeRDP/commit/58409406afe7c2a8a71ed2dc8e22075be4f41c0c
- https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-q5j3-m6jf-3jq4
- https://github.com/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_cliprdr.c#L851-L855
Related Resources
Details
- CVE ID
- CVE-2026-25997
- Severity
- Critical
- CVSS Score
- 9.8
- Type
- use_after_free
- Status
- confirmed
CWE
- CWE-416
CVSS Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H