{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2023-40187","published":"2023-08-31T22:15:08.417000Z","last_modified":"2026-06-17T06:16:37.513000Z","status":"Modified","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-416"],"cpes":[{"criteria":"cpe:2.3:a:freerdp:freerdp:3.0.0:beta1:*:*:*:*:*:*","part":"a","vendor":"freerdp","product":"freerdp","version":"3.0.0"},{"criteria":"cpe:2.3:a:freerdp:freerdp:3.0.0:beta2:*:*:*:*:*:*","part":"a","vendor":"freerdp","product":"freerdp","version":"3.0.0"}],"cpes_truncated":false,"vendors":["freerdp"],"products":["freerdp/freerdp"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"partial"},"epss":{"score":0.01326,"percentile":0.71125,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2023-40187/","html_en":"/en/cve/CVE-2023-40187/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-40187","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-40187"},"untrusted":{"vendor_name":"Freerdp","product_name":"Freerdp","desc_en":"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.","affected":[{"untrusted_vendor":"FreeRDP","untrusted_product":"FreeRDP","versions":[]}],"references":[{"url":"https://github.com/FreeRDP/FreeRDP/blob/5be5553e0da72178a4b94cc1ffbdace9ceb153e5/libfreerdp/codec/h264.c#L413-L427","tags":["Issue Tracking"]},{"url":"https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-pwf9-v5p9-ch4f","tags":["Exploit","Vendor Advisory"]},{"url":"https://security.gentoo.org/glsa/202401-16","tags":[]}]}}