CVE-2026-25942

FreeRDP has global-buffer-overflow in xf_rail_server_execute_result

Published Feb 25, 2026 CVSS 4.0 · 5.5 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability in FreeRDP occurs in the xf_rail_server_execute_result function, where the global error_code_names array is indexed with an unchecked execResult value sent from the RDP server. Because the array only contains seven elements, an execResult value of 7 or higher causes an out‑of‑bounds read. This allows the server to leak arbitrary client memory contents to the attacker, potentially exposing sensitive data. The flaw is a classic buffer read error (CWE‑125) and does not permit remote code execution but can compromise confidentiality.

Affected Systems

All FreeRDP releases prior to version 3.23.0 are affected. The fix is included in FreeRDP 3.23.0 and later.

Risk and Exploitability

The CVSS base score of 5.5 indicates moderate impact, and the EPSS score of less than 1% suggests a very low probability of current exploitation. The vulnerability requires a remote RDP server to send a crafted execResult value. No commercial exploitation campaigns are currently known, and the flaw is not listed in CISA’s KEV catalog. Administrators should treat the risk as moderate but action-oriented.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade FreeRDP to version 3.23.0 or later to apply the official fix.
  • Restrict RDP connections to trusted networks and enforce strict access controls to reduce exposure to malicious servers.
  • Monitor RDP traffic for anomalous execResult values or repeated reads of out‑of‑bounds indices, and investigate any suspicious activity.

Generated by OpenCVE AI on April 17, 2026 at 14:57 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Ubuntu USN Ubuntu USN USN-8105-1 FreeRDP vulnerabilities
History
Type Values Removed Values Added
CPEs cpe:2.3:a:freerdp:freerdp:*:*:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L'}

cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Freerdp
Freerdp freerdp
Vendors & Products Freerdp
Freerdp freerdp
Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L'}

threat_severity

Moderate

Type Values Removed Values Added
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.
Title FreeRDP has global-buffer-overflow in xf_rail_server_execute_result
Weaknesses CWE-125
References
Metrics cvssV4_0

{'score': 5.5, '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Feb 26, 2026, 8:47 PM
Reserved
Feb 9, 2026, 4:22 PM
Status
Analyzed
Published
Feb 25, 2026, 9:16 PM
Modified
Jun 17, 2026, 10:25 AM
Severity
Moderate
Public date
Feb 25, 2026, 8:01 PM