CVE-2026-25997: FreeRDP has heap-use-after-free in xf_clipboard_format_equal
FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to version 3.23.0, xfclipboardformatequal reads freed lastSentFormats memory because xfclipboardformatsfree (called from the cliprdr channel thread during auto-reconnect) frees the array while the X11 event thread concurrently iterates it in xfclipboardchanged, triggering a heap use after free. Version 3.23.0 fixes the issue.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
ubuntu/freerdp3to a version that resolves this vulnerability.Fixed in 3.5.1+dfsg1-0ubuntu1.4 - Upgrade
Upgrade
ubuntu/freerdp3to a version that resolves this vulnerability.Fixed in 3.16.0+dfsg-2ubuntu0.3 - Upgrade
Upgrade
alpine/freerdpto a version that resolves this vulnerability.Fixed in 3.23.0-r0 - Upgrade
Upgrade
debian/freerdp2to a version that resolves this vulnerability.Fixed in 2.11.7+dfsg1-6~deb12u2 - Upgrade
Upgrade
debian/freerdp3to a version that resolves this vulnerability.Fixed in 3.15.0+dfsg-2.1+deb13u1 - Upgrade
Upgrade
debian/freerdp3to a version that resolves this vulnerability.Fixed in 3.23.0+dfsg-1 - Upgrade
Upgrade
debian/freerdp3to a version that resolves this vulnerability.Fixed in 3.15.0+dfsg-2.1+deb13u1Fixed in 3.23.0+dfsg-1 - Upgrade
Upgrade
FreeRDPto a version that resolves this vulnerability.Fixed in 3.23.0
Event History
Frequently Asked Questions
What is the severity of CVE-2026-25997?
CVE-2026-25997 is categorized as a moderate-severity vulnerability due to potential memory corruption issues.
How do I fix CVE-2026-25997?
To fix CVE-2026-25997, upgrade FreeRDP to version 3.23.0 or later, which addresses the vulnerability.
What are the risks associated with CVE-2026-25997?
The risks associated with CVE-2026-25997 include the potential for remote code execution and unauthorized access to the system.
Which versions of FreeRDP are affected by CVE-2026-25997?
FreeRDP versions prior to 3.23.0 are affected by CVE-2026-25997.
Is CVE-2026-25997 being actively exploited?
As of now, there is no public report indicating active exploitation of CVE-2026-25997.