{"id":"CVE-2026-26965","summary":"FreeRDP has Out-of-bounds Write","details":"FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to version 3.23.0, in the RLE planar decode path, `planar_decompress_plane_rle()` writes into `pDstData` at `((nYDst+y) * nDstStep) + (4*nXDst) + nChannel` without verifying that `(nYDst+nSrcHeight)` fits in the destination height or that `(nXDst+nSrcWidth)` fits in the destination stride. When `TempFormat != DstFormat`, `pDstData` becomes `planar-\u003epTempData` (sized for the desktop), while `nYDst` is only validated against the **surface** by `is_within_surface()`. A malicious RDP server can exploit this to perform a heap out-of-bounds write with attacker-controlled offset and pixel data on any connecting FreeRDP client. The OOB write reaches up to 132,096 bytes past the temp buffer end, and  on the brk heap (desktop ≤ 128×128), an adjacent `NSC_CONTEXT` struct's `decode` function pointer is overwritten with attacker-controlled pixel data — control-flow–relevant corruption (function pointer overwritten) demonstrated under deterministic heap layout (`nsc-\u003edecode = 0xFF414141FF414141`). Version 3.23.0 fixes the vulnerability.","aliases":["GHSA-5vgf-mw4f-r33h"],"modified":"2026-04-07T12:59:23.721990172Z","published":"2026-02-25T20:59:17.828Z","related":["ALSA-2026:5939","ALSA-2026:6004","ALSA-2026:6005","MGASA-2026-0086","SUSE-SU-2026:1129-1","SUSE-SU-2026:1160-1","SUSE-SU-2026:1164-1","SUSE-SU-2026:1165-1","openSUSE-SU-2026:10408-1","openSUSE-SU-2026:10459-1"],"database_specific":{"cwe_ids":["CWE-787"],"cna_assigner":"GitHub_M","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/26xxx/CVE-2026-26965.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/26xxx/CVE-2026-26965.json"},{"type":"ADVISORY","url":"https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-5vgf-mw4f-r33h"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-26965"},{"type":"FIX","url":"https://github.com/FreeRDP/FreeRDP/commit/a0be5cb87d760bb1c803ad1bb835aa1e73e62abc"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/freerdp/freerdp","events":[{"introduced":"0"},{"fixed":"b933ae18d9ad2a1d73c610868fcc30eb61654070"}]}],"versions":["1.0-beta1","1.0-beta2","1.0-beta3","1.0-beta4","1.0-beta5","1.0.0","1.0.1","1.0.2","1.0.2-rc1","1.0.2-rc2","1.1.0-beta+2013071101","1.1.0-beta1","1.1.0-beta1+android2","1.1.0-beta1+android3","1.1.0-beta1+android4","1.1.0-beta1+android5","1.1.0-beta1+ios1","1.1.0-beta1+ios2","1.1.0-beta1+ios3","1.1.0-beta1+ios4","1.2.0-beta1+android7","1.2.0-beta1+android9","2.0.0","2.0.0-beta1+android10","2.0.0-beta1+android11","2.0.0-rc0","2.0.0-rc1","2.0.0-rc2","2.0.0-rc3","2.0.0-rc4","2.1.0","2.1.1","2.1.2","2.10.0","2.11.0","2.11.1","2.11.2","2.11.3","2.11.4","2.11.5","2.11.6","2.11.7","2.11.8","2.2.0","2.3.0","2.3.1","2.3.2","2.4.1","2.5.0","2.6.0","2.6.1","2.7.0","2.8.0","2.8.1","2.9.0","3.0.0","3.0.0-beta1","3.0.0-beta2","3.0.0-beta3","3.0.0-beta4","3.0.0-rc0","3.1.0","3.10.0","3.10.1","3.10.2","3.10.3","3.11.0","3.11.1","3.12.0","3.13.0","3.14.0","3.14.1","3.15.0","3.16.0","3.17.0","3.17.1","3.17.2","3.18.0","3.19.0","3.19.1","3.2.0","3.20.0","3.20.1","3.20.2","3.21.0","3.22.0","3.3.0","3.4.0","3.5.0","3.5.1","3.6.0","3.6.1","3.6.2","3.6.3","3.7.0","3.9.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-26965.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}