# CVE-2026-26965: 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.98%, higher than 61% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-02-25T20:59:17.828Z
- Modified: 2026-07-15T02:19:02.680Z
- Weaknesses: CWE-787
- 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, 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->pTempData` (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->decode = 0xFF414141FF414141`). Version 3.23.0 fixes the vulnerability.

(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-5vgf-mw4f-r33h> (exploit, mitigation, patch, vendor-advisory)
- <https://github.com/FreeRDP/FreeRDP/commit/a0be5cb87d760bb1c803ad1bb835aa1e73e62abc> (patch)
- <https://access.redhat.com/security/cve/CVE-2026-26965> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2442959> (issue-tracking)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-26965.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-26965](https://www.cve.org/CVERecord?id=CVE-2026-26965), CVE Terms of Use, modified 2026-07-15
- NVD: [CVE-2026-26965](https://nvd.nist.gov/vuln/detail/CVE-2026-26965), Public domain, modified 2026-07-15

---

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