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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: Required; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.06% (percentile 64, 2026-11-26)
- **CWE:** CWE-787
- **Published:** 2026-02-25T20:47:14.660Z
- **Modified:** 2026-07-15T02:19:02.203Z

## Who should check

- Anyone running FreeRDP \< 3.23.0

## 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.

## Affected and fixed versions

- FreeRDP: \< 3.23.0 (cvelist)

## Mitigation

- Upgrade FreeRDP to 3.23.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-26955. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-26955.md
Affected: FreeRDP < 3.23.0
Fixed in: FreeRDP 3.23.0

Steps:
1. Search this machine and project for FreeRDP: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-26955 being exploited?

There is no confirmed exploitation: CVE-2026-26955 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.06% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-26955?

High: CVSS 8.8 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-26955?

FreeRDP \< 3.23.0.

### Is there a fix for CVE-2026-26955?

Yes. Fixed in FreeRDP 3.23.0. Upgrade FreeRDP to 3.23.0 or later.

### How do I check if I'm affected by CVE-2026-26955?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-26955>

HTML: <https://flawdb.com/CVE-2026-26955> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-26955>
