CVE-2026-25942: FreeRDP has global-buffer-overflow in xf_rail_server_execute_result
FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to version 3.23.0, xfrailserverexecuteresult indexes the global errorcodenames[] array (7 elements, indices 0–6) with an unchecked execResult->execResult value received from the server, allowing an out-of-bounds read when the server sends an execResult value of 7 or greater. 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-25942?
CVE-2026-25942 has a severity rating that indicates a high risk due to the nature of the global buffer overflow vulnerability.
How do I fix CVE-2026-25942?
To fix CVE-2026-25942, you should upgrade FreeRDP to version 3.23.0 or later.
Which versions of FreeRDP are affected by CVE-2026-25942?
CVE-2026-25942 affects all versions of FreeRDP prior to version 3.23.0.
What type of vulnerability is CVE-2026-25942?
CVE-2026-25942 is categorized as a global buffer overflow vulnerability.
What impact does CVE-2026-25942 have on systems using FreeRDP?
CVE-2026-25942 can potentially lead to crashes or execution of arbitrary code on systems using affected versions of FreeRDP.