Vulnerability · Published Feb 25, 2026 · Assigned by GitHub_M

CVE-2026-25942FreeRDP has global-buffer-overflow in xf_rail_server_execute_result

Medium 5.5

In plain English

A medium-severity out-of-bounds read in FreeRDP from FreeRDP. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 45% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)5.5Medium
Exploit odds (30 days)0.5%top 54.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to version 3.23.0, `xf_rail_server_execute_result` indexes the global `error_code_names[]` 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.23freerdp3.23.0-r0ALPINE-CVE-2026-25942
Alpine:v3.24freerdp3.23.0-r0ALPINE-CVE-2026-25942
Debian:12freerdp2no fix listedDEBIAN-CVE-2026-25942
Debian:13freerdp33.15.0+dfsg-2.1+deb13u1DEBIAN-CVE-2026-25942
Debian:14freerdp33.23.0+dfsg-1DEBIAN-CVE-2026-25942
Ubuntu:22.04:LTSfreerdp2no fix listedUBUNTU-CVE-2026-25942
Ubuntu:24.04:LTSfreerdp33.5.1+dfsg1-0ubuntu1.4USN-8105-1
Ubuntu:24.04:LTSfreerdp33.5.1+dfsg1-0ubuntu1.4UBUNTU-CVE-2026-25942
Ubuntu:25.10freerdp33.16.0+dfsg-2ubuntu0.3UBUNTU-CVE-2026-25942
Ubuntu:25.10freerdp33.16.0+dfsg-2ubuntu0.3USN-8105-1

Affected products (as reported)

VendorProductVersions
FreeRDP FreeRDP < 3.23.0

Weakness: CWE-125 · 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/E:P

References