What’s Vulnerable › Vulnerabilities
CVE-2023-40574: Out-Of-Bounds Write in FreeRDP
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.2% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2023-08-31 · updated 2026-06-17
- Weakness: CWE-787
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.
Affected products
- FreeRDP: 3.0.0-beta1, 3.0.0-beta2
References
- https://github.com/FreeRDP/FreeRDP/blob/5be5553e0da72178a4b94cc1ffbdace9ceb153e5/libfreerdp/primitives/prim_YUV.c#L414-L445
- https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-422p-gj6x-93cw
- https://security.gentoo.org/glsa/202401-16
- https://github.com/FreeRDP/FreeRDP/blob/5be5553e0da72178a4b94cc1ffbdace9ceb153e5/libfreerdp/primitives/prim_YUV.c#L414-L445
- https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-422p-gj6x-93cw
- https://security.gentoo.org/glsa/202401-16
Get alerted when CVE-2023-40574 or the next vulnerability affects your stack