# CVE-2023-39352: Invalid offset validation leading to Out Of Bound Write in FreeRDP

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- 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.54%, higher than 75% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-08-31T20:46:31.858Z
- Modified: 2026-06-17T06:12:07.370Z
- Weaknesses: CWE-787
- Assigned by: GitHub_M

## Description

FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Affected versions are subject to an invalid offset validation leading to Out Of Bound Write. This can be triggered when the values `rect->left` and `rect->top` are exactly equal to `surface->width` and  `surface->height`. eg. `rect->left` == `surface->width` && `rect->top` == `surface->height`. In practice this should cause a crash. This issue has been addressed in versions 2.11.0 and 3.0.0-beta3. Users are advised to upgrade. There are no known workarounds for this vulnerability.

(As written by CVE List.)

## Affected

- FreeRDP FreeRDP: < 2.11.0; >= 3.0.0-beta1, < 3.0.0-beta3; before 2.11.0; 3.0.0
- debian debian_linux: 10.0
- fedoraproject fedora: 37; 38; 39

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- 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-whwr-qcf2-2mvj> (exploit, vendor-advisory)
- <https://github.com/FreeRDP/FreeRDP/blob/63a2f65618748c12f79ff7450d46c6e194f2db76/libfreerdp/gdi/gfx.c#L1219-L1239> (issue-tracking)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OH2ATH2BKDNKCJAU4WPPXK4SHLE3UJUV/> (mailing-list)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/A6LLDAPEXRDJOM3PREDDD267SSNT77DP/> (mailing-list)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IHMTGKCZXJPQOR5ZD2I4GPDNP2DKRXMF/> (mailing-list)
- <https://lists.debian.org/debian-lts-announce/2023/10/msg00008.html> (mailing-list, third-party-advisory)
- <https://security.gentoo.org/glsa/202401-16> (third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2025/02/msg00016.html>

## Sources

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

---

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