{"id":"CVE-2023-40187","aliases":["CVE-2023-40187"],"related":[],"kind":"vulnerability","state":"published","title":"Use-After-Free in FreeRDP","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"FreeRDP es una implementación gratuita del Protocolo de Escritorio Remoto (RDP), lanzado bajo la licencia Apache. Las versiones afectadas de la rama beta 3.x están sujetas a un problema de uso después de liberación en las funciones 'avc420_ensure_buffer' y 'avc444_ensure_buffer'. Si el valor de 'piDstSize[x]' es 0, 'ppYUVDstData[x]' será liberado. Sin embargo, en este caso 'ppYUVDstData[x]' no habrá sido actualizado, lo que lleva a una vulnerabilidad de uso después de liberación. Este problema ha sido abordado en la versión 3.0.0-beta3. Se aconseja a los usuarios de las versiones beta 3.x que actualicen. No se conocen soluciones alternativas para esta vulnerabilidad.","source":"nvd"}],"published":"2023-08-31T21:21:12.787Z","modified":"2026-06-17T06:16:37.513Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","score":7.3,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","score":7.3,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"version":">= 3.0.0-beta1, < 3.0.0-beta3","status":"affected"}],"vendor":"FreeRDP","product":"FreeRDP","source":"cvelist"},{"ranges":[{"status":"affected","version":"3.0.0"},{"status":"affected","version":"3.0.0"}],"vendor":"freerdp","product":"freerdp","cpe":"cpe:2.3:a:freerdp:freerdp:3.0.0:beta1:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-pwf9-v5p9-ch4f","tags":["exploit","vendor-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/FreeRDP/FreeRDP/blob/5be5553e0da72178a4b94cc1ffbdace9ceb153e5/libfreerdp/codec/h264.c#L413-L427","tags":["issue-tracking","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://security.gentoo.org/glsa/202401-16","tags":["x-transferred"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2024-11-27T16:18:28.873Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-40187","url":"https://www.cve.org/CVERecord?id=CVE-2023-40187","licence":"CVE Terms of Use","modified":"2025-02-13T17:07:43.347Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-40187","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-40187","licence":"Public domain","modified":"2026-06-17T06:16:37.513Z"}],"updatedAt":"2026-11-25T22:58:27.492Z","epss":{"score":0.01157,"percentile":0.67981,"date":"2026-12-01T12:00:22.000Z"}}