{"id":"CVE-2026-25942","published":"2026-02-25T20:01:16Z","modified":"2026-02-26T20:47:09Z","title":"FreeRDP has global-buffer-overflow in xf_rail_server_execute_result","vendor":"FreeRDP","product":"FreeRDP","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00544,"percentile":0.46558,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"references":[{"url":"https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-78q6-67m7-wwf6","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/FreeRDP/FreeRDP/commit/9362a0bf8dda04eedbca07d5dfaec1044e67cc6b","tags":["x_refsource_MISC"]},{"url":"https://github.com/FreeRDP/FreeRDP/blob/3370e30e92a021eb680892dda14d642bc8b8727c/channels/rail/client/rail_orders.c#L528","tags":["x_refsource_MISC"]},{"url":"https://github.com/FreeRDP/FreeRDP/blob/3370e30e92a021eb680892dda14d642bc8b8727c/channels/rail/client/rail_orders.c#L75-L76","tags":["x_refsource_MISC"]},{"url":"https://github.com/FreeRDP/FreeRDP/blob/3370e30e92a021eb680892dda14d642bc8b8727c/client/X11/xf_rail.c#L1014-L1017","tags":["x_refsource_MISC"]},{"url":"https://github.com/FreeRDP/FreeRDP/blob/3370e30e92a021eb680892dda14d642bc8b8727c/client/X11/xf_rail.c#L40-L46","tags":["x_refsource_MISC"]}],"priority":{"score":13.2,"factors":[{"name":"EPSS percentile","points":9.31},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"freerdp","affectedVersions":[{"vendor":"FreeRDP","product":"FreeRDP","versions":["< 3.23.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-02-26T20:46:57.440011Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-8731","exploited":false,"provenance":"source"}}