High severity · published Aug 31, 2023
CVE-2023-40576
FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license
7.5
CVSS
1.2%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.2% · higher than 69% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
FR
Freerdp · Freerdp
3.0.0; 3.0.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2023-40576
CVE.org
https://www.cve.org/CVERecord?id=CVE-2023-40576
Issue Tracking
https://github.com/FreeRDP/FreeRDP/blob/5be5553e0da72178a4b94cc1ffbdace9ceb153e5/libfreerdp/codec/include/bitmap.c#L94-L113
Exploit
https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-x3x5-r7jm-5pq2
security.gentoo.org
https://security.gentoo.org/glsa/202401-16
More from Freerdp
9.8
CVE-2026-63633
FreeRDP: Heap buffer overflow in Opus audio decode (`freerdp_dsp_decode_opus` resizes the wrong stream) — server→client
9.8
CVE-2026-55194
FreeRDPHeap-buffer-overflow write in TS Gateway RPC RESPONSE reassembly due to alloc_hint capacity mismatch
9.8
CVE-2026-55191
FreeRDP: Heap-buffer-overflow write in AVC444 YUV buffer allocation
9.8
CVE-2026-66402
FreeRDP before 3.29.0 TLS Certificate Identity Validation Bypass
9.8
CVE-2026-57156
FreeRDP: Integer overflow leading to heap buffer overflow in Orders Delta Points parsing
