CVE-2023-40576 Out-Of-Bounds Read in FreeRDP
An out-of-bounds read in FreeRDP's RleDecompress function can cause application crashes, requiring users to upgrade to a patched version.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-40576?
CVE-2023-40576 is a medium-severity memory corruption vulnerability in Freerdp Freerdp, published on 31 Aug 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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 `RleDecompress` function. This Out-Of-Bounds Read occurs because FreeRDP processes the `pbSrcBuffer` variable without checking if it contains data of sufficient length. Insufficient data in the `pbSrcBuffer` variable may cause errors or crashes. This issue has been addressed in version 3.0.0-beta3. Users are advised to upgrade. There are no known workarounds for this issue.
Weakness: CWE-125
Which versions are affected by CVE-2023-40576?
It affects 1 product.
Products include Freerdp Freerdp.
How do I fix CVE-2023-40576?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2023-40576 being exploited?
There is no known exploitation of CVE-2023-40576 in the wild and no public exploit code.
Other vulnerabilities in Freerdp Freerdp
- CVE-2021-37594 Other in n/a
- CVE-2021-37595 Other in n/a
- CVE-2026-67305 FreeRDP Windows Client before 3.29.0 Heap Buffer Overflow via Cliprdr
- CVE-2026-66402 FreeRDP before 3.29.0 TLS Certificate Identity Validation Bypass
- CVE-2026-67289 FreeRDP before 3.29.0 HTTP Proxy Request Injection via Redirection
Sources
Also known as GHSA-x3x5-r7jm-5pq2.