CVE-2026-25952: FreeRDP has heap-use-after-free in xf_SetWindowMinMaxInfo
FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to version 3.23.0, xfSetWindowMinMaxInfo dereferences a freed xfAppWindow pointer because xfrailgetwindow in xfrailserverminmaxinfo returns an unprotected pointer from the railWindows hash table, and the main thread can concurrently delete the window (via a window delete order) while the RAIL channel thread is still using the pointer. 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-25952?
CVE-2026-25952 is classified with a high severity due to the potential for heap-use-after-free vulnerabilities which can lead to arbitrary code execution.
How do I fix CVE-2026-25952?
To mitigate CVE-2026-25952, upgrade FreeRDP to version 3.23.0 or later, where the vulnerability has been addressed.
Which versions of FreeRDP are affected by CVE-2026-25952?
CVE-2026-25952 affects all FreeRDP versions prior to 3.23.0.
What type of vulnerability is CVE-2026-25952?
CVE-2026-25952 is a heap-use-after-free vulnerability located in the xf_SetWindowMinMaxInfo function.
Is CVE-2026-25952 exploitable remotely?
Yes, CVE-2026-25952 can potentially be exploited remotely, allowing attackers to execute code on affected systems.