CVE-2026-25942 MEDIUM

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

Vendor Freerdp
Product FreeRDP
Weakness CWE-125
Published February 25, 2026
Last update February 26, 2026

CVSS base score

5.5/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality
Integrity

CVSS 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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

February 25, 2026 CVE published
February 26, 2026 Record updated