Use After Free in Freerdp

CVE-2023-40187

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 `avc420_ensure_buffer` and `avc444_ensure_buffer` 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.

Vulnerability class: Use-After-Free

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.3 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L.

EPSS exploit prediction

EPSS: 0.012 (65.8th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 66th percentile — 65.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2023-40187: held from 0.010 to 0.012.

EPSS over last 30 days · oldest: 0.010 · newest: 0.012 · change: +0.002

Affected products

  • Freerdp — versions 3.0.0, >= 3.0.0-beta1, < 3.0.0-beta3

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2023-40187?
CVE-2023-40187 is a high-severity vulnerability in Freerdp, classified under Use After Free. CVSS score: 7.3/10. Published 2023-08-31.
How severe is CVE-2023-40187?
High severity. CVSS v3 base score is 7.3 out of 10.
Is CVE-2023-40187 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.