{"id":"CVE-2026-26986","summary":"FreeRDP has heap-use-after-free in rail_window_free","details":"FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to version 3.23.0, `rail_window_free` dereferences a freed `xfAppWindow` pointer during `HashTable_Free` cleanup because `xf_rail_window_common` calls `free(appWindow)` on title allocation failure without first removing the entry from the `railWindows` hash table, leaving a dangling pointer that is freed again on disconnect. Version 3.23.0 fixes the vulnerability.","aliases":["GHSA-crqx-g6x5-rx47"],"modified":"2026-09-18T08:15:08.940042Z","published":"2026-02-25T21:01:16.916Z","related":["ALSA-2026:16014","ALSA-2026:16019","ALSA-2026:16482","ALSA-2026:19358","SUSE-SU-2026:1632-1","SUSE-SU-2026:1633-1","SUSE-SU-2026:1634-1","SUSE-SU-2026:1635-1","SUSE-SU-2026:1640-1","openSUSE-SU-2026:10611-1","openSUSE-SU-2026:20632-1"],"database_specific":{"cwe_ids":["CWE-416"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/26xxx/CVE-2026-26986.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_rail.c#L1230-L1238"},{"type":"WEB","url":"https://github.com/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_rail.c#L1297"},{"type":"WEB","url":"https://github.com/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_rail.c#L1316-L1327"},{"type":"WEB","url":"https://github.com/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_rail.c#L386-L394"},{"type":"WEB","url":"https://github.com/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_rail.c#L395-L399"},{"type":"WEB","url":"https://github.com/FreeRDP/FreeRDP/blob/5c7aae27d0417b42b4806c2a5c583ca39dd9ef1e/client/X11/xf_rail.c#L401-L404"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/26xxx/CVE-2026-26986.json"},{"type":"ADVISORY","url":"https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-crqx-g6x5-rx47"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-26986"},{"type":"FIX","url":"https://github.com/FreeRDP/FreeRDP/commit/b4f0f0a18fe53aa8d47d062f91471f4e9c5e0d51"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/freerdp/freerdp","events":[{"introduced":"0"},{"fixed":"b933ae18d9ad2a1d73c610868fcc30eb61654070"},{"fixed":"b4f0f0a18fe53aa8d47d062f91471f4e9c5e0d51"}],"database_specific":{"cpe":"cpe:2.3:a:freerdp:freerdp:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"3.23.0"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["3.5.1","3.5.0","3.4.0","3.3.0","3.2.0","3.1.0","3.0.0","3.0.0-rc0","3.0.0-beta4","3.0.0-beta3","3.0.0-beta2","3.0.0-beta1","2.0.0","2.0.0-rc4","2.0.0-rc3","2.0.0-rc2","2.0.0-rc1","2.0.0-rc0","2.0.0-beta1+android11","2.0.0-beta1+android10","1.2.0-beta1+android9","1.2.0-beta1+android7","1.1.0-beta+2013071101","1.1.0-beta1+ios4","1.1.0-beta1+android5","1.1.0-beta1+android4","1.1.0-beta1+ios3","1.1.0-beta1+ios2","1.1.0-beta1+android3","1.1.0-beta1+android2","1.1.0-beta1+ios1","1.1.0-beta1","1.0.1","1.0.0","1.0-beta5","1.0-beta4","1.0-beta2","1.0-beta1"],"database_specific":{"vanir_signatures_modified":"2026-09-18T08:15:08Z","vanir_signatures":[{"id":"CVE-2026-26986-265ea781","signature_type":"Function","signature_version":"v1","source":"https://github.com/freerdp/freerdp/commit/b4f0f0a18fe53aa8d47d062f91471f4e9c5e0d51","target":{"function":"xf_rail_window_common","file":"client/X11/xf_rail.c"},"deprecated":false,"digest":{"length":6246,"function_hash":"240970775091850251955784091515732459955"}},{"deprecated":false,"digest":{"line_hashes":["53796879253749681813118752091107077786","285643395316838240869894869564148723409","281694856166870700492809226888479456399","325070522899973520407875706441847113121","102837558029218901955210709703231038539","24932369292916951742978035890992647467","303637180569525202361148970753398490927","92545014916748460506689181564842516689","335627375761816351341327773846069799052","217997837448314580348867727570467466864","208157579910403290065071801618121141539","257265186546262234873440531203658841283","183268348372063425315287816805334730981","108659695409281188759969866699814669928","215849500187198486070308556252177599779"],"threshold":0.9},"id":"CVE-2026-26986-b510b39a","signature_type":"Line","signature_version":"v1","source":"https://github.com/freerdp/freerdp/commit/b4f0f0a18fe53aa8d47d062f91471f4e9c5e0d51","target":{"file":"client/X11/xf_rail.c"}}],"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-26986.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}