{"id":"CVE-2026-26955","aliases":["CVE-2026-26955"],"related":[],"kind":"vulnerability","state":"published","title":"FreeRDP has Out-of-bounds Write","summary":"FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to version 3.23.0, a malicious RDP server can trigger a heap buffer overflow in FreeRDP clients using the GDI surface pipeline (e.g., `xfreerdp`) by sending an RDPGFX ClearCodec surface command with an out-of-bounds destination rectangle. The `gdi_SurfaceCommand_ClearCodec()` handler does not call `is_within_surface()` to validate the command rectangle against the destination surface dimensions, allowing attacker-controlled `cmd->left`/`cmd->top` (and subcodec rectangle offsets) to reach image copy routines that write into `surface->data` without bounds enforcement. The OOB write corrupts an adjacent `gdiGfxSurface` struct's `codecs*` pointer with attacker-controlled pixel data, and corruption of `codecs*` is sufficient to reach an indirect function pointer call (`NSC_CONTEXT.decode` at `nsc.c:500`) on a subsequent codec command — full instruction pointer (RIP) control demonstrated in exploitability harness. Users should upgrade to version 3.23.0 to receive a patch.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to version 3.23.0, a malicious RDP server can trigger a heap buffer overflow in FreeRDP clients using the GDI surface pipeline (e.g., `xfreerdp`) by sending an RDPGFX ClearCodec surface command with an out-of-bounds destination rectangle. The `gdi_SurfaceCommand_ClearCodec()` handler does not call `is_within_surface()` to validate the command rectangle against the destination surface dimensions, allowing attacker-controlled `cmd->left`/`cmd->top` (and subcodec rectangle offsets) to reach image copy routines that write into `surface->data` without bounds enforcement. The OOB write corrupts an adjacent `gdiGfxSurface` struct's `codecs*` pointer with attacker-controlled pixel data, and corruption of `codecs*` is sufficient to reach an indirect function pointer call (`NSC_CONTEXT.decode` at `nsc.c:500`) on a subsequent codec command — full instruction pointer (RIP) control demonstrated in exploitability harness. Users should upgrade to version 3.23.0 to receive a patch.","source":"cvelist"},{"lang":"es","text":"FreeRDP es una implementación gratuita del Protocolo de Escritorio Remoto. Antes de la versión 3.23.0, un servidor RDP malicioso puede desencadenar un desbordamiento de búfer de montón en clientes FreeRDP que utilizan la tubería de superficie GDI (por ejemplo, 'xfreerdp') enviando un comando de superficie RDPGFX ClearCodec con un rectángulo de destino fuera de límites. El gestor 'gdi_SurfaceCommand_ClearCodec()' no llama a 'is_within_surface()' para validar el rectángulo del comando contra las dimensiones de la superficie de destino, permitiendo que 'cmd-&gt;left'/'cmd-&gt;top' (y los desplazamientos del rectángulo del subcódec) controlados por el atacante alcancen rutinas de copia de imagen que escriben en 'surface-&gt;data' sin aplicación de límites. La escritura OOB corrompe el puntero 'codecs*' de una estructura 'gdiGfxSurface' adyacente con datos de píxeles controlados por el atacante, y la corrupción de 'codecs*' es suficiente para alcanzar una llamada a puntero de función indirecta ('NSC_CONTEXT.decode' en 'nsc.c:500') en un comando de códec subsiguiente — control total del puntero de instrucción (RIP) demostrado en el arnés de explotabilidad. Los usuarios deben actualizar a la versión 3.23.0 para recibir un parche.","source":"nvd"}],"published":"2026-02-25T20:47:14.660Z","modified":"2026-07-15T02:19:02.203Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"redhat-SADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-787","CWE-805"],"affected":[{"ranges":[{"version":"< 3.23.0","status":"affected"}],"vendor":"FreeRDP","product":"FreeRDP","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"2:3.10.3-12.el10_2.2","fixed":"*","status":"unaffected"},{"type":"rpm","introduced":"2:3.10.3-5.el10_1.3","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","package":"freerdp","cpe":"cpe:/o:redhat:enterprise_linux:10.1","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"2:3.10.3-3.el10_0.3","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10.0 Extended Update Support","package":"freerdp","cpe":"cpe:/o:redhat:enterprise_linux_eus:10.0","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:2.1.1-5.el7_9.5","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7 Extended Lifecycle Support","package":"freerdp","cpe":"cpe:/o:redhat:rhel_els:7","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"2:2.11.7-4.el8_10","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","package":"freerdp","cpe":"cpe:/a:redhat:enterprise_linux:8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"2:2.0.0-46.rc4.el8_2.8","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8.2 Advanced Update Support","package":"freerdp","cpe":"cpe:/a:redhat:rhel_aus:8.2","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"2:2.2.0-10.el8_4","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support","package":"freerdp","cpe":"cpe:/a:redhat:rhel_aus:8.4","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"2:2.2.0-10.el8_4","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On","package":"freerdp","cpe":"cpe:/a:redhat:rhel_eus_long_life:8.4","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"2:2.2.0-7.el8_6.3","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support","package":"freerdp","cpe":"cpe:/a:redhat:rhel_aus:8.6","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"2:2.2.0-7.el8_6.3","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8.6 Telecommunications Update Service","package":"freerdp","cpe":"cpe:/a:redhat:rhel_tus:8.6","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"2:2.2.0-7.el8_6.3","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions","package":"freerdp","cpe":"cpe:/a:redhat:rhel_e4s:8.6","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"2:2.2.0-12.el8_8.3","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8.8 Telecommunications Update Service","package":"freerdp","cpe":"cpe:/a:redhat:rhel_tus:8.8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"2:2.2.0-12.el8_8.3","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions","package":"freerdp","cpe":"cpe:/a:redhat:rhel_e4s:8.8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"2:2.11.7-1.el9_7.3","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"freerdp","cpe":"cpe:/a:redhat:enterprise_linux:9","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"2:2.4.1-3.el9_0.2","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions","package":"freerdp","cpe":"cpe:/a:redhat:rhel_e4s:9.0","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"2:2.4.1-6.el9_2.4","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions","package":"freerdp","cpe":"cpe:/a:redhat:rhel_e4s:9.2","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"2:2.11.2-1.el9_4.3","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9.4 Extended Update Support","package":"freerdp","cpe":"cpe:/a:redhat:rhel_eus:9.4","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"2:2.11.7-1.el9_6.5","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9.6 Extended Update Support","package":"freerdp","cpe":"cpe:/a:redhat:rhel_eus:9.6","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 6","package":"freerdp","cpe":"cpe:/o:redhat:enterprise_linux:6","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"3.23.0"}],"vendor":"freerdp","product":"freerdp","cpe":"cpe:2.3:a:freerdp:freerdp:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-mr6w-ch7c-mqqj","tags":["exploit","mitigation","patch","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/FreeRDP/FreeRDP/commit/7d8fdce2d0ef337cb86cb37fc0c436c905e04d77","tags":["patch","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-26955","tags":["vdb-entry","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2443132","tags":["issue-tracking","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-26955.json","tags":["x-sadp-csaf-vex"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:7292","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:5936","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:5939","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:19033","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:6005","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:6712","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:6616","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:6665","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:6764","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:6395","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:6396","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:6384","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:6385","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2026:6004","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-02-26T20:30:12.659Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-26955","url":"https://www.cve.org/CVERecord?id=CVE-2026-26955","licence":"CVE Terms of Use","modified":"2026-07-15T01:14:49.142Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-26955","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-26955","licence":"Public domain","modified":"2026-07-15T02:19:02.203Z"}],"updatedAt":"2026-11-25T22:59:14.897Z","epss":{"score":0.0066,"percentile":0.52828,"date":"2026-12-01T12:00:22.000Z"}}