CVE-2026-26955
FreeRDP has Out-of-bounds Write
Reported by github_m · Published February 25, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| freerdp-libs | Amazon Linux | 2:3.6.3-1.amzn2023.0.5, 2:2.11.7-1.amzn2.0.6 |
| libwinpr | errata.rockylinux.org | 2:2.11.7-4.el8_10.aarch64 |
| libwinpr-devel | errata.rockylinux.org | 2:2.11.7-4.el8_10.x86_64, 2:2.11.7-4.el8_10.i686, 2:2.11.7-4.el8_10.aarch64 |
| freerdp-server | Amazon Linux | 2:3.6.3-1.amzn2023.0.5 |
| freerdp | errata.rockylinux.org | 2:2.11.7-4.el8_10.x86_64, 2:2.11.7-4.el8_10.src |
| freerdp-debuginfo | errata.rockylinux.org | 2:2.11.7-4.el8_10.aarch64 |
| freerdp-devel | Amazon Linux | 2:3.6.3-1.amzn2023.0.5 |
| freerdp-devel | errata.rockylinux.org | 2:2.11.7-4.el8_10.x86_64, 2:2.11.7-4.el8_10.i686 |
| freerdp-libs | errata.rockylinux.org | 2:2.11.7-4.el8_10.x86_64, 2:2.11.7-4.el8_10.i686 |
| libwinpr-devel | Amazon Linux | 2:3.6.3-1.amzn2023.0.5 |
| freerdp | freerdp | 3.23.0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| FreeRDP | FreeRDP | < 3.23.0 |
| amazon:2023 | freerdp-libs | 0 |
| Red Hat | Red Hat Enterprise Linux 6 | |
| Red Hat | Red Hat Enterprise Linux AppStream EUS (v.9.4) | |
| Red Hat | Red Hat Enterprise Linux AppStream AUS (v.8.4) | |
| Red Hat | Red Hat Enterprise Linux AppStream (v. 8) | |
| Red Hat | Red Hat Enterprise Linux 9 | 2:2.11.7-1.el9_7.3 |
| Red Hat | Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.4) | |
| amazon:2 | freerdp-libs | 0 |
| Red Hat | Red Hat Enterprise Linux 8 | 2:2.11.7-4.el8_10 |
| Red Hat | Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) | |
| amazon:2023 | freerdp-server | 0 |
| Red Hat | Red Hat Enterprise Linux 7 Extended Lifecycle Support | 0:2.1.1-5.el7_9.5 |
| Red Hat | Red Hat Enterprise Linux AppStream AUS (v.8.6) | |
| Red Hat | Red Hat Enterprise Linux CodeReady Linux Builder EUS (v. 10.0) | |
| Red Hat | Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions | 2:2.2.0-7.el8_6.3 |
| Red Hat | Red Hat Enterprise Linux 10 | 2:3.10.3-5.el10_1.3, 2:3.10.3-12.el10_2.2 |
| Red Hat | Red Hat CodeReady Linux Builder EUS (v.9.6) | |
| Red Hat | Red Hat Enterprise Linux AppStream (v. 9) | |
| Red Hat | Red Hat Enterprise Linux 9.6 Extended Update Support | 2:2.11.7-1.el9_6.5 |
…and 37 more
Timeline
- Feb 24, 2026 CVE Published
- Feb 26, 2026 EPSS Score (30 in total, the first dated here)
- Feb 26, 2026 PoC Published (3 in total, the first dated here)
- Mar 22, 2026 Coalition ESS Score (2 in total, the first dated here)
- Mar 27, 2026 Distribution Patch (31 in total, the first dated here)
- Mar 27, 2026 Security Advisory (34 in total, the first dated here)
- Sep 28, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-26955
vulnetix vdb fixes CVE-2026-26955
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-26955/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-mr6w-ch7c-mqqj x_refsource_CONFIRM
- https://github.com/FreeRDP/FreeRDP/commit/7d8fdce2d0ef337cb86cb37fc0c436c905e04d77 x_refsource_MISC
- https://access.redhat.com/security/cve/CVE-2026-26955 advisory
- https://access.redhat.com/errata/RHSA-2026:7292 advisory
- https://access.redhat.com/errata/RHSA-2026:5936 advisory
- https://access.redhat.com/errata/RHSA-2026:5939 advisory
- https://access.redhat.com/errata/RHSA-2026:19033 advisory
- https://access.redhat.com/errata/RHSA-2026:6712 advisory
- https://access.redhat.com/errata/RHSA-2026:6616 advisory
- https://access.redhat.com/errata/RHSA-2026:6665 advisory
- https://access.redhat.com/errata/RHSA-2026:6384 advisory
- https://access.redhat.com/errata/RHSA-2026:6385 advisory
- https://access.redhat.com/errata/RHSA-2026:6396 advisory
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-26955.json advisory
- https://access.redhat.com/errata/RHSA-2026:6005 advisory
- https://access.redhat.com/errata/RHSA-2026:6764 advisory
- https://access.redhat.com/errata/RHSA-2026:6395 advisory
- RHBZ#2443132 issue
- https://access.redhat.com/errata/RHSA-2026:6004 advisory