# CVE-2023-40188: Out-Of-Bounds Read 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-40188, DEBIAN-CVE-2023-40188
- Record: https://cvemate.com/vulnerability/CVE-2023-40188 · JSON: https://cvemate.com/vulnerability/CVE-2023-40188/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 Out-Of-Bounds Read in the `general_LumaToYUV444` function. This Out-Of-Bounds Read occurs because processing is done on the `in` variable without checking if it contains data of sufficient length. Insufficient data for the `in` variable may cause errors or crashes. 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 issue.
```

## Signals

- CVSS: 9.1 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
- EPSS: 1.476%, percentile 74.74%, 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+esm1 \| \< 2.2.0+dfsg1-0ubuntu0.20.04.5 \| \< 2.6.1+dfsg1-3ubuntu2.4
- 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-9w28-wwj5-p4xq>
- <https://github.com/FreeRDP/FreeRDP/blob/5be5553e0da72178a4b94cc1ffbdace9ceb153e5/libfreerdp/codec/nsc.c#L115-L175>
- <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-40188>
- <https://ubuntu.com/security/notices/USN-6401-1>
- <https://www.cve.org/CVERecord?id=CVE-2023-40188>
- <https://security-tracker.debian.org/tracker/CVE-2023-40188>

---

Data as of 2026-12-05T09:58:58.398Z. 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
