# CVE-2026-44421: FreeRDP RDPGFX CacheToSurface heap-buffer-overflow via clamped-rectangle validation bypass

- 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.51%, higher than 44% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-29T19:40:25.492Z
- Modified: 2026-07-27T13:18:07.127Z
- Weaknesses: CWE-122, 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 3.26.0, a malicious RDP server can trigger a heap-buffer-overflow write in the FreeRDP client by sending crafted RDPGFX PDUs. The bug is in gdi_CacheToSurface: it validates a destination rectangle that is clamped to UINT16_MAX, but then performs the copy using the original cacheEntry->width/height. This can cause a large out-of-bounds heap write and may lead to client crashes or code execution. This bug is reachable from a malicious RDP server, but only when the client has RDPGFX enabled. This vulnerability is fixed in 3.26.0.

(As written by CVE List.)

## Affected

- FreeRDP FreeRDP: < 3.26.0; before 3.26.0
- freerdp: no versions given (not affected: from 2:3.10.3-12.el10_2.6 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-p6r2-4hgm-m6ff> (exploit, mitigation, vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2026-44421> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2483471> (issue-tracking)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-44421.json>
- <https://access.redhat.com/errata/RHSA-2026:46393> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:36203> (vendor-advisory)

## Sources

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

---

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