# CVE-2026-26955: FreeRDP has Out-of-bounds Write

- Severity: High 8.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.66%, higher than 52% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-02-25T20:47:14.660Z
- Modified: 2026-07-15T02:19:02.203Z
- Weaknesses: CWE-787, CWE-805
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- FreeRDP FreeRDP: < 3.23.0; before 3.23.0
- freerdp: no versions given (not affected: from 2:3.10.3-12.el10_2.2 before *; from 2:3.10.3-5.el10_1.3 before *; from 2:3.10.3-3.el10_0.3 before *; from 0:2.1.1-5.el7_9.5 before *; from 2:2.11.7-4.el8_10 before *; from 2:2.0.0-46.rc4.el8_2.8 before *; from 2:2.2.0-10.el8_4 before *; from 2:2.2.0-7.el8_6.3 before *; from 2:2.2.0-12.el8_8.3 before *; from 2:2.11.7-1.el9_7.3 before *; from 2:2.4.1-3.el9_0.2 before *; from 2:2.4.1-6.el9_2.4 before *)

## Every score

- GitHub_M: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- redhat-SADP: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-mr6w-ch7c-mqqj> (exploit, mitigation, patch, vendor-advisory)
- <https://github.com/FreeRDP/FreeRDP/commit/7d8fdce2d0ef337cb86cb37fc0c436c905e04d77> (patch)
- <https://access.redhat.com/security/cve/CVE-2026-26955> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2443132> (issue-tracking)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-26955.json>
- <https://access.redhat.com/errata/RHSA-2026:7292> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:5936> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:5939> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:19033> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:6005> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:6712> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:6616> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:6665> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:6764> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:6395> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:6396> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:6384> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:6385> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:6004> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-26955](https://www.cve.org/CVERecord?id=CVE-2026-26955), CVE Terms of Use, modified 2026-07-15
- NVD: [CVE-2026-26955](https://nvd.nist.gov/vuln/detail/CVE-2026-26955), Public domain, modified 2026-07-15

---

Page: https://cve.day/CVE-2026-26955 · Whole record: https://cve.day/CVE-2026-26955.json · Rebuilt by cve.day 2026-11-25T22:59:14.897Z
