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

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2023-08-31 · Modified: 2025-11-03
- Aliases: UBUNTU-CVE-2023-39352, DEBIAN-CVE-2023-39352
- Record: https://cvemate.com/vulnerability/CVE-2023-39352 · JSON: https://cvemate.com/vulnerability/CVE-2023-39352/json

## Description

```text
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.
```

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 1.535%, percentile 75.7%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- debian freerdp2 (Debian): \< 2.11.7+dfsg1-6~deb12u1
- ubuntu freerdp2 (Ubuntu): \< 2.2.0+dfsg1-0ubuntu0.18.04.4+esm2 \| \< 2.2.0+dfsg1-0ubuntu0.20.04.6 \| \< 2.6.1+dfsg1-3ubuntu2.5
- debian debian\_linux: 10.0
- fedoraproject fedora: 37 \| 38 \| 39
- freerdp freerdp: ≥ 3.0.0-beta1, \< 3.0.0-beta3 \| \< 2.11.0 \| 3.0.0:beta1 \| 3.0.0:beta2

## References

- <https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-whwr-qcf2-2mvj>
- <https://github.com/FreeRDP/FreeRDP/blob/63a2f65618748c12f79ff7450d46c6e194f2db76/libfreerdp/gdi/gfx.c#L1219-L1239>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OH2ATH2BKDNKCJAU4WPPXK4SHLE3UJUV/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/A6LLDAPEXRDJOM3PREDDD267SSNT77DP/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IHMTGKCZXJPQOR5ZD2I4GPDNP2DKRXMF/>
- <https://lists.debian.org/debian-lts-announce/2023/10/msg00008.html>
- <https://security.gentoo.org/glsa/202401-16>
- <https://lists.debian.org/debian-lts-announce/2025/02/msg00016.html>
- <https://ubuntu.com/security/CVE-2023-39352>
- <https://ubuntu.com/security/notices/USN-6522-1>
- <https://ubuntu.com/security/notices/USN-6522-2>
- <https://www.cve.org/CVERecord?id=CVE-2023-39352>
- <https://security-tracker.debian.org/tracker/CVE-2023-39352>

---

Data as of 2026-12-05T09:58:17.092Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
