CVE-2023-40574
CWE-787Published: August 31, 2023· Updated: Jun 17, 2026
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 Write in the `writePixelBGRX` function. This issue is likely down to incorrect calculations of the `nHeight` and `srcStep` variables. This issue has been addressed in version 3.0.0-beta3. Users are advised to upgrade. There are no known workarounds for this issue.
Risk Analysis
This is an out-of-bounds write vulnerability in FreeRDP caused by incorrect variable calculations. With a critical CVSS score of 9.8, this flaw allows for remote code execution or system compromise, making it highly urgent.
No public exploits are currently known for this vulnerability, and it is not tracked in the CISA KEV. It is remotely exploitable with low attack complexity.
Upgrade to FreeRDP version 3.0.0-beta3 to resolve the underlying calculation errors.
Technical Analysis
CVE-2023-40574 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.
The vulnerability requires no privileges and no user interaction, making it a prime target for automated exploitation campaigns and worm-like propagation.
A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 9.8.
From a weakness classification perspective (CWE-787): Out-of-bounds write vulnerabilities can lead to data corruption, crashes, or arbitrary code execution.
CVSS v3.1 Vector Breakdown
Affected Vendors & Products
Exploit & PoC Resources
Official Patches & Advisories
All References (6)
Quick Facts
Related CVEs (CWE-787)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2023-40574 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts