# CVE-2023-39355: FreeRDP Use-After-Free in RDPGFX_CMDID_RESETGRAPHICS

- Severity: High 7.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/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): 1.27%, higher than 70% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-08-31T19:45:02.298Z
- Modified: 2026-06-17T06:12:07.787Z
- Weaknesses: CWE-416
- Assigned by: GitHub_M

## Description

FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Versions of FreeRDP on the 3.x release branch before beta3 are subject to a Use-After-Free in processing `RDPGFX_CMDID_RESETGRAPHICS` packets. If `context->maxPlaneSize` is 0, `context->planesBuffer` will be freed. However, without updating `context->planesBuffer`, this leads to a Use-After-Free exploit vector. In most environments this should only result in a crash. This issue has been addressed in version 3.0.0-beta3 and users of the beta 3.x releases are advised to upgrade. There are no known workarounds for this vulnerability.

(As written by CVE List.)

## Affected

- FreeRDP FreeRDP: >= 3.0.0-beta1, < 3.0.0-beta3; 3.0.0
- debian debian_linux: 10.0

## Every score

- GitHub_M: CVSS:3.1 7.0 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-hvwj-vmg6-2f5h> (exploit, vendor-advisory)
- <https://github.com/FreeRDP/FreeRDP/commit/d6f9d33a7db0b346195b6a15b5b99944ba41beee> (patch)
- <https://lists.debian.org/debian-lts-announce/2023/10/msg00008.html> (mailing-list, third-party-advisory)
- <https://security.gentoo.org/glsa/202401-16>

## Sources

- CVE List: [CVE-2023-39355](https://www.cve.org/CVERecord?id=CVE-2023-39355), CVE Terms of Use, modified 2025-02-13
- NVD: [CVE-2023-39355](https://nvd.nist.gov/vuln/detail/CVE-2023-39355), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-39355 · Whole record: https://cve.day/CVE-2023-39355.json · Rebuilt by cve.day 2026-11-25T22:58:27.487Z
