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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-125"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/25xxx/CVE-2026-25942.json"
}"2026-04-11T03:29:11Z"
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-25942.json"
[
{
"target": {
"function": "xf_rail_server_local_move_size",
"file": "client/X11/xf_rail.c"
},
"signature_version": "v1",
"deprecated": false,
"digest": {
"length": 1874.0,
"function_hash": "157890305385061828128230911050819752003"
},
"id": "CVE-2026-25942-2f251737",
"source": "https://github.com/freerdp/freerdp/commit/9362a0bf8dda04eedbca07d5dfaec1044e67cc6b",
"signature_type": "Function"
},
{
"target": {
"function": "xf_rail_server_execute_result",
"file": "client/X11/xf_rail.c"
},
"signature_version": "v1",
"deprecated": false,
"digest": {
"length": 404.0,
"function_hash": "267124141617776130271641569418904159883"
},
"id": "CVE-2026-25942-c2293b38",
"source": "https://github.com/freerdp/freerdp/commit/9362a0bf8dda04eedbca07d5dfaec1044e67cc6b",
"signature_type": "Function"
},
{
"target": {
"file": "client/X11/xf_rail.c"
},
"signature_version": "v1",
"deprecated": false,
"digest": {
"threshold": 0.9,
"line_hashes": [
"274792506874496459102604060627999557217",
"29704318137324166710309174109218349109",
"31522409616958130870131943800227995537",
"12977601552747420968993811422479196633",
"199278152836243997604550025689589771633",
"118338195321814439701537094657011138603",
"219223886182103059882893669593964507322",
"317385643421685847198600480704453259078",
"90529802712866483965844210489042596985",
"316712593381048293977765921124381541310",
"97345523466641465107632473391092633639",
"251841573929820098642733185876484597220",
"220196689429657012139337965585673273344",
"180758401460344006522499221283605824064",
"313661415332558818444818504732083689651",
"42970504393761082028920301355591076415",
"89306845340069181431925794348709493775",
"245390707900901727689720048044021199326",
"82747945917009993361871585712100795486",
"185761012378332362506204018860787916326",
"328865994769667443121189605775337657290",
"318097991016844082661668884981046811131",
"22598601961555198442481319427116310949",
"60007811062762010104299274604893722117",
"309168506121792150715190534016009843880",
"63536757678551712197685887136733869493"
]
},
"id": "CVE-2026-25942-ecf637d5",
"source": "https://github.com/freerdp/freerdp/commit/9362a0bf8dda04eedbca07d5dfaec1044e67cc6b",
"signature_type": "Line"
}
]