CVE-2023-40187: Use-After-Free in FreeRDP

Published Aug 31, 2023
·
Updated

FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Affected versions of the 3.x beta branch are subject to a Use-After-Free issue in the avc420ensurebuffer and avc444ensurebuffer functions. If the value of piDstSize[x] is 0, ppYUVDstData[x] will be freed. However, in this case ppYUVDstData[x] will not have been updated which leads to a Use-After-Free vulnerability. This issue has been addressed in version 3.0.0-beta3. Users of the 3.x beta releases are advised to upgrade. There are no known workarounds for this vulnerability.

Affected Software

2 affected components
FreeRDP freerdp=3.0.0-beta1
FreeRDP freerdp=3.0.0-beta2

Event History

Aug 31, 2023
CVE Published
via MITRE·09:21 PM
Data Sourced
via MITRE·09:21 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2023-40187?

CVE-2023-40187 is a Use-After-Free vulnerability in FreeRDP, specifically in the avc420_ensure_buffer and avc444_ensure_buffer functions.

2

How severe is CVE-2023-40187?

CVE-2023-40187 has a severity rating of 9.8 (Critical).

3

Which versions of FreeRDP are affected by CVE-2023-40187?

Versions 3.0.0-beta1 and 3.0.0-beta2 of FreeRDP are affected by CVE-2023-40187.

4

What is the CWE-ID associated with CVE-2023-40187?

The Common Weakness Enumeration (CWE) ID associated with CVE-2023-40187 is CWE-416.

5

How can the Use-After-Free vulnerability CVE-2023-40187 be fixed?

To fix the Use-After-Free vulnerability CVE-2023-40187, it is recommended to update to a patched version of FreeRDP.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203