{"id":"CVE-2023-40187","aliases":["UBUNTU-CVE-2023-40187"],"summary":"Use-After-Free in FreeRDP","published_at":"2023-08-31T21:21:12.787Z","modified_at":"2025-10-07T01:03:55Z","products":[],"rating":{"severity":"critical","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attack_path":"internet_unauthenticated","user_interaction":false,"malicious":false,"red_hat":"Moderate","vendor_ratings":[{"source":"SUSE","rating":"important"},{"source":"Ubuntu","rating":"medium"},{"source":"Red Hat","rating":"Moderate"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.01157000008970499,"percentile":0.6775199770927429,"date":"2026-11-19T00:00:00Z"},"priority":11.8,"details":"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_stack":[],"affected_other":[{"ecosystem":"CVE","package":"FreeRDP/FreeRDP","versions":[">= 3.0.0-beta1, < 3.0.0-beta3"],"provider":"cvelistv5","source":"CVE-2023-40187","relation":"self"},{"ecosystem":"Ubuntu:20.04:LTS","package":"freerdp2","purl":"pkg:deb/ubuntu/freerdp2@2.2.0+dfsg1-0ubuntu0.20.04.4?arch=source&distro=focal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.0+dfsg1-0ubuntu0.20.04.4"}]}],"versions":["2.0.0~git20190204.1.2693389a+dfsg1-1","2.0.0~git20190204.1.2693389a+dfsg1-2","2.0.0~git20190204.1.2693389a+dfsg1-2build1","2.0.0~git20190204.1.2693389a+dfsg1-2build2","2.1.1+dfsg1-0ubuntu0.20.04.1","2.2.0+dfsg1-0ubuntu0.20.04.1","2.2.0+dfsg1-0ubuntu0.20.04.2","2.2.0+dfsg1-0ubuntu0.20.04.3"],"fixed":["2.2.0+dfsg1-0ubuntu0.20.04.4"],"provider":"osv","source":"UBUNTU-CVE-2023-40187","relation":"self"},{"ecosystem":"Ubuntu:22.04:LTS","package":"freerdp2","purl":"pkg:deb/ubuntu/freerdp2@2.6.1+dfsg1-3ubuntu2.3?arch=source&distro=jammy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.1+dfsg1-3ubuntu2.3"}]}],"versions":["2.3.0+dfsg1-2build1","2.3.0+dfsg1-2ubuntu1","2.3.0+dfsg1-2ubuntu2","2.4.1+dfsg1-1","2.4.1+dfsg1-1ubuntu1","2.4.1+dfsg1-1ubuntu2","2.5.0+dfsg1-1","2.6.0+dfsg1-1","2.6.1+dfsg1-1","2.6.1+dfsg1-3","2.6.1+dfsg1-3ubuntu1","2.6.1+dfsg1-3ubuntu2","2.6.1+dfsg1-3ubuntu2.1","2.6.1+dfsg1-3ubuntu2.2"],"fixed":["2.6.1+dfsg1-3ubuntu2.3"],"provider":"osv","source":"UBUNTU-CVE-2023-40187","relation":"self"}],"product_status":[{"vendor":"SUSE","product":"SUSE Linux Enterprise Desktop 15 SP4","cpe":"cpe:/o:suse:sled:15:sp4","status":"not_affected","packages":["freerdp","freerdp-devel","freerdp-proxy","libfreerdp2","libwinpr2","winpr2-devel"],"package_count":6,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2023-40187"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Desktop 15 SP5","cpe":"cpe:/o:suse:sled:15:sp5","status":"not_affected","packages":["freerdp","freerdp-devel","freerdp-proxy","libfreerdp2","libwinpr2","winpr2-devel"],"package_count":6,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2023-40187"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Module for Package Hub 15 SP4","cpe":"cpe:/o:suse:packagehub:15:sp4","status":"not_affected","packages":["freerdp","freerdp-devel","freerdp-proxy","libfreerdp2","libwinpr2","winpr2-devel"],"package_count":6,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2023-40187"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Module for Package Hub 15 SP5","cpe":"cpe:/o:suse:packagehub:15:sp5","status":"not_affected","packages":["freerdp","freerdp-devel","freerdp-proxy","freerdp-server","freerdp-wayland","libfreerdp2","libuwac0-0","libwinpr2","uwac0-0-devel","winpr2-devel"],"package_count":10,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2023-40187"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server 12 SP5","cpe":"cpe:/o:suse:sles:12:sp5","status":"not_affected","packages":["freerdp","freerdp-devel","freerdp-proxy","freerdp-server","libfreerdp2","libwinpr2","winpr2-devel"],"package_count":7,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2023-40187"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server 15 SP4","cpe":"cpe:/o:suse:sles:15:sp4","status":"not_affected","packages":["freerdp","freerdp-devel","freerdp-proxy","libfreerdp2","libwinpr2","winpr2-devel"],"package_count":6,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2023-40187"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server 15 SP5","cpe":"cpe:/o:suse:sles:15:sp5","status":"not_affected","packages":["freerdp","freerdp-devel","freerdp-proxy","libfreerdp2","libwinpr2","winpr2-devel"],"package_count":6,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2023-40187"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server for SAP Applications 12 SP5","cpe":"cpe:/o:suse:sles_sap:12:sp5","status":"not_affected","packages":["freerdp","freerdp-devel","freerdp-proxy","freerdp-server","libfreerdp2","libwinpr2","winpr2-devel"],"package_count":7,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2023-40187"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server for SAP Applications 15 SP4","cpe":"cpe:/o:suse:sles_sap:15:sp4","status":"not_affected","packages":["freerdp","freerdp-devel","freerdp-proxy","libfreerdp2","libwinpr2","winpr2-devel"],"package_count":6,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2023-40187"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server for SAP Applications 15 SP5","cpe":"cpe:/o:suse:sles_sap:15:sp5","status":"not_affected","packages":["freerdp","freerdp-devel","freerdp-proxy","libfreerdp2","libwinpr2","winpr2-devel"],"package_count":6,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2023-40187"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Software Development Kit 12 SP5","cpe":"cpe:/o:suse:sle-sdk:12:sp5","status":"not_affected","packages":["freerdp","freerdp-devel","libfreerdp2","libwinpr2","winpr2-devel"],"package_count":5,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2023-40187"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Workstation Extension 12 SP5","cpe":"cpe:/o:suse:sle-we:12:sp5","status":"not_affected","packages":["freerdp","freerdp-proxy","freerdp-server","libfreerdp2","libwinpr2"],"package_count":5,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2023-40187"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Workstation Extension 15 SP4","cpe":"cpe:/o:suse:sle-we:15:sp4","status":"not_affected","packages":["freerdp","freerdp-devel","freerdp-proxy","libfreerdp2","libwinpr2","winpr2-devel"],"package_count":6,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2023-40187"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Workstation Extension 15 SP5","cpe":"cpe:/o:suse:sle-we:15:sp5","status":"not_affected","packages":["freerdp","freerdp-devel","freerdp-proxy","libfreerdp2","libwinpr2","winpr2-devel"],"package_count":6,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2023-40187"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 6","cpe":"cpe:/o:redhat:rhel_els:6","status":"not_affected","packages":["freerdp","freerdp-devel","freerdp-libs","freerdp-plugins"],"package_count":4,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2023-40187"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","cpe":"cpe:/o:redhat:rhel_els:7","status":"not_affected","packages":["freerdp","freerdp-devel","freerdp-libs","freerdp-plugins","libwinpr","libwinpr-devel"],"package_count":6,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2023-40187"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","cpe":"cpe:/a:redhat:enterprise_linux:8","status":"not_affected","packages":["freerdp","freerdp-devel","freerdp-libs","libwinpr","libwinpr-devel"],"package_count":5,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2023-40187"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","cpe":"cpe:/a:redhat:enterprise_linux:9","status":"not_affected","packages":["freerdp","freerdp-devel","freerdp-libs","libwinpr","libwinpr-devel"],"package_count":5,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2023-40187"}],"records":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2023-2251","relation":"upstream","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2023-2251","license":"TLP:CLEAR, mirroring permitted","published_at":"2023-09-03T22:00:00Z","modified_at":"2026-03-11T23:00:00Z","summary":"FreeRDP: Mehrere Schwachstellen","details":"Ein entfernter, anonymer Angreifer kann mehrere Schwachstellen in FreeRDP ausnutzen, um einen Denial of Service Angriff durchzuführen.\n\nFreeRDP ist eine freie Implementierung des Remote Desktop Protocol (RDP).","severity":[{"type":"BSI","score":"mittel","source":"WID-SEC-W-2023-2251"}],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://wid.cert-bund.de/.well-known/csaf/white/2023/wid-sec-w-2023-2251.json"},{"type":"WEB","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2023-2251"},{"type":"WEB","url":"https://www.freerdp.com/2023/08/31/3_0_0_beta3-release"},{"type":"WEB","url":"https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-rrrv-3w42-pffh"},{"type":"WEB","url":"https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-whwr-qcf2-2mvj"},{"type":"WEB","url":"https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-hvwj-vmg6-2f5h"},{"type":"WEB","url":"https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-mxp4-rx7x-h2g8"},{"type":"WEB","url":"https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-hcj4-3c3r-5j3v"},{"type":"WEB","url":"https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-gc34-mw6m-g42x"},{"type":"WEB","url":"https://bodhi.fedoraproject.org/updates/FEDORA-2023-10e43bcebb"},{"type":"WEB","url":"https://bodhi.fedoraproject.org/updates/FEDORA-2023-5e6796cb83"},{"type":"WEB","url":"https://bodhi.fedoraproject.org/updates/FEDORA-2023-74108ca60d"},{"type":"WEB","url":"https://ubuntu.com/security/notices/USN-6401-1"},{"type":"WEB","url":"https://alas.aws.amazon.com/AL2/ALAS-2023-2269.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/10/msg00008.html"},{"type":"WEB","url":"https://lists.suse.com/pipermail/sle-security-updates/2023-November/017261.html"},{"type":"WEB","url":"https://ubuntu.com/security/notices/USN-6522-1"},{"type":"WEB","url":"https://ubuntu.com/security/notices/USN-6522-2"},{"type":"WEB","url":"https://lists.suse.com/pipermail/sle-security-updates/2023-December/017438.html"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202401-16"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/02/msg00016.html"},{"type":"WEB","url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/BXWDT2NJCKXIEJIDNY6MWR5WIFECK6OH/"}]},{"provider":"cvelistv5","source_id":"CVE-2023-40187","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2023-40187","license":"CC-BY-4.0","published_at":"2023-08-31T21:21:12.787Z","modified_at":"2025-02-13T17:07:43.347Z","summary":"Use-After-Free in FreeRDP","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","source":"CVE-2023-40187"}],"affected":[{"ecosystem":"CVE","package":"FreeRDP/FreeRDP","versions":[">= 3.0.0-beta1, < 3.0.0-beta3"],"provider":"cvelistv5","source":"CVE-2023-40187","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-pwf9-v5p9-ch4f"},{"type":"WEB","url":"https://github.com/FreeRDP/FreeRDP/blob/5be5553e0da72178a4b94cc1ffbdace9ceb153e5/libfreerdp/codec/h264.c#L413-L427"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202401-16"}]},{"provider":"csaf-suse","source_id":"CVE-2023-40187","relation":"self","url":"https://www.suse.com/security/cve/CVE-2023-40187/","license":"TLP:CLEAR, mirroring permitted","published_at":"2023-09-02T01:54:40Z","modified_at":"2025-10-07T01:03:55Z","summary":"SUSE CVE CVE-2023-40187","details":"SUSE CVE-2023-40187\n\nFreeRDP 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.","severity":[{"type":"SUSE","score":"important","source":"CVE-2023-40187"}],"affected":[],"product_status":[{"vendor":"SUSE","product":"SUSE Linux Enterprise Desktop 15 SP4","cpe":"cpe:/o:suse:sled:15:sp4","status":"not_affected","packages":["freerdp","freerdp-devel","freerdp-proxy","libfreerdp2","libwinpr2","winpr2-devel"],"package_count":6,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2023-40187"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Desktop 15 SP5","cpe":"cpe:/o:suse:sled:15:sp5","status":"not_affected","packages":["freerdp","freerdp-devel","freerdp-proxy","libfreerdp2","libwinpr2","winpr2-devel"],"package_count":6,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2023-40187"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Module for Package Hub 15 SP4","cpe":"cpe:/o:suse:packagehub:15:sp4","status":"not_affected","packages":["freerdp","freerdp-devel","freerdp-proxy","libfreerdp2","libwinpr2","winpr2-devel"],"package_count":6,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2023-40187"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Module for Package Hub 15 SP5","cpe":"cpe:/o:suse:packagehub:15:sp5","status":"not_affected","packages":["freerdp","freerdp-devel","freerdp-proxy","freerdp-server","freerdp-wayland","libfreerdp2","libuwac0-0","libwinpr2","uwac0-0-devel","winpr2-devel"],"package_count":10,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2023-40187"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server 12 SP5","cpe":"cpe:/o:suse:sles:12:sp5","status":"not_affected","packages":["freerdp","freerdp-devel","freerdp-proxy","freerdp-server","libfreerdp2","libwinpr2","winpr2-devel"],"package_count":7,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2023-40187"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server 15 SP4","cpe":"cpe:/o:suse:sles:15:sp4","status":"not_affected","packages":["freerdp","freerdp-devel","freerdp-proxy","libfreerdp2","libwinpr2","winpr2-devel"],"package_count":6,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2023-40187"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server 15 SP5","cpe":"cpe:/o:suse:sles:15:sp5","status":"not_affected","packages":["freerdp","freerdp-devel","freerdp-proxy","libfreerdp2","libwinpr2","winpr2-devel"],"package_count":6,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2023-40187"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server for SAP Applications 12 SP5","cpe":"cpe:/o:suse:sles_sap:12:sp5","status":"not_affected","packages":["freerdp","freerdp-devel","freerdp-proxy","freerdp-server","libfreerdp2","libwinpr2","winpr2-devel"],"package_count":7,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2023-40187"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server for SAP Applications 15 SP4","cpe":"cpe:/o:suse:sles_sap:15:sp4","status":"not_affected","packages":["freerdp","freerdp-devel","freerdp-proxy","libfreerdp2","libwinpr2","winpr2-devel"],"package_count":6,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2023-40187"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Server for SAP Applications 15 SP5","cpe":"cpe:/o:suse:sles_sap:15:sp5","status":"not_affected","packages":["freerdp","freerdp-devel","freerdp-proxy","libfreerdp2","libwinpr2","winpr2-devel"],"package_count":6,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2023-40187"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Software Development Kit 12 SP5","cpe":"cpe:/o:suse:sle-sdk:12:sp5","status":"not_affected","packages":["freerdp","freerdp-devel","libfreerdp2","libwinpr2","winpr2-devel"],"package_count":5,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2023-40187"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Workstation Extension 12 SP5","cpe":"cpe:/o:suse:sle-we:12:sp5","status":"not_affected","packages":["freerdp","freerdp-proxy","freerdp-server","libfreerdp2","libwinpr2"],"package_count":5,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2023-40187"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Workstation Extension 15 SP4","cpe":"cpe:/o:suse:sle-we:15:sp4","status":"not_affected","packages":["freerdp","freerdp-devel","freerdp-proxy","libfreerdp2","libwinpr2","winpr2-devel"],"package_count":6,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2023-40187"},{"vendor":"SUSE","product":"SUSE Linux Enterprise Workstation Extension 15 SP5","cpe":"cpe:/o:suse:sle-we:15:sp5","status":"not_affected","packages":["freerdp","freerdp-devel","freerdp-proxy","libfreerdp2","libwinpr2","winpr2-devel"],"package_count":6,"fixed":[],"advisories":[],"provider":"csaf-suse","source":"CVE-2023-40187"}],"references":[{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2023-40187"},{"type":"WEB","url":"https://www.suse.com/support/security/rating/"},{"type":"WEB","url":"https://bugzilla.suse.com/1214865"}]},{"provider":"osv","source_id":"UBUNTU-CVE-2023-40187","relation":"self","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2023-40187","license":"CC-BY-SA-4.0","published_at":"2023-08-31T22:15:00Z","modified_at":"2025-07-16T08:16:58.232646Z","withdrawn_at":"2025-07-18T16:54:37Z","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"UBUNTU-CVE-2023-40187"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","source":"UBUNTU-CVE-2023-40187"},{"type":"Ubuntu","score":"medium","source":"UBUNTU-CVE-2023-40187"}],"affected":[{"ecosystem":"Ubuntu:20.04:LTS","package":"freerdp2","purl":"pkg:deb/ubuntu/freerdp2@2.2.0+dfsg1-0ubuntu0.20.04.4?arch=source&distro=focal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.0+dfsg1-0ubuntu0.20.04.4"}]}],"versions":["2.0.0~git20190204.1.2693389a+dfsg1-1","2.0.0~git20190204.1.2693389a+dfsg1-2","2.0.0~git20190204.1.2693389a+dfsg1-2build1","2.0.0~git20190204.1.2693389a+dfsg1-2build2","2.1.1+dfsg1-0ubuntu0.20.04.1","2.2.0+dfsg1-0ubuntu0.20.04.1","2.2.0+dfsg1-0ubuntu0.20.04.2","2.2.0+dfsg1-0ubuntu0.20.04.3"],"fixed":["2.2.0+dfsg1-0ubuntu0.20.04.4"],"provider":"osv","source":"UBUNTU-CVE-2023-40187","relation":"self"},{"ecosystem":"Ubuntu:22.04:LTS","package":"freerdp2","purl":"pkg:deb/ubuntu/freerdp2@2.6.1+dfsg1-3ubuntu2.3?arch=source&distro=jammy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.1+dfsg1-3ubuntu2.3"}]}],"versions":["2.3.0+dfsg1-2build1","2.3.0+dfsg1-2ubuntu1","2.3.0+dfsg1-2ubuntu2","2.4.1+dfsg1-1","2.4.1+dfsg1-1ubuntu1","2.4.1+dfsg1-1ubuntu2","2.5.0+dfsg1-1","2.6.0+dfsg1-1","2.6.1+dfsg1-1","2.6.1+dfsg1-3","2.6.1+dfsg1-3ubuntu1","2.6.1+dfsg1-3ubuntu2","2.6.1+dfsg1-3ubuntu2.1","2.6.1+dfsg1-3ubuntu2.2"],"fixed":["2.6.1+dfsg1-3ubuntu2.3"],"provider":"osv","source":"UBUNTU-CVE-2023-40187","relation":"self"}],"product_status":[],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-40187"},{"type":"REPORT","url":"https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-pwf9-v5p9-ch4f"},{"type":"REPORT","url":"https://github.com/FreeRDP/FreeRDP/blob/5be5553e0da72178a4b94cc1ffbdace9ceb153e5/libfreerdp/codec/h264.c#L413-L427"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2023-40187"}]},{"provider":"redhat-vex","source_id":"CVE-2023-40187","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2023-40187","license":"CC-BY-4.0","published_at":"2023-09-01T00:00:00Z","modified_at":"2024-01-31T17:26:19Z","summary":"freerdp: Use-After-Free in avc420_ensure_buffer, avc444_ensure_buffer","details":"A use-after-free flaw was found in FreeRDP. This issue occurs in the `avc420_ensure_buffer` and `avc444_ensure_buffer` functions, which may result in a crash.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"CVE-2023-40187"},{"type":"Red Hat","score":"Moderate","source":"CVE-2023-40187"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 6","cpe":"cpe:/o:redhat:rhel_els:6","status":"not_affected","packages":["freerdp","freerdp-devel","freerdp-libs","freerdp-plugins"],"package_count":4,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2023-40187"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","cpe":"cpe:/o:redhat:rhel_els:7","status":"not_affected","packages":["freerdp","freerdp-devel","freerdp-libs","freerdp-plugins","libwinpr","libwinpr-devel"],"package_count":6,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2023-40187"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","cpe":"cpe:/a:redhat:enterprise_linux:8","status":"not_affected","packages":["freerdp","freerdp-devel","freerdp-libs","libwinpr","libwinpr-devel"],"package_count":5,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2023-40187"},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","cpe":"cpe:/a:redhat:enterprise_linux:9","status":"not_affected","packages":["freerdp","freerdp-devel","freerdp-libs","libwinpr","libwinpr-devel"],"package_count":5,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2023-40187"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2023/cve-2023-40187.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2023-40187"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2236744"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2023-40187"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-40187"},{"type":"WEB","url":"https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-pwf9-v5p9-ch4f"}]}],"references":[{"type":"WEB","url":"https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-pwf9-v5p9-ch4f"},{"type":"WEB","url":"https://github.com/FreeRDP/FreeRDP/blob/5be5553e0da72178a4b94cc1ffbdace9ceb153e5/libfreerdp/codec/h264.c#L413-L427"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202401-16"},{"type":"WEB","url":"https://www.suse.com/security/cve/CVE-2023-40187"},{"type":"WEB","url":"https://www.suse.com/support/security/rating/"},{"type":"WEB","url":"https://bugzilla.suse.com/1214865"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-40187"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2023-40187"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2023/cve-2023-40187.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2023-40187"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2236744"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-40187"}],"sources":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2023-2251","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2023-2251","license":"TLP:CLEAR, mirroring permitted","modified_at":"2026-03-11T23:00:00Z","relation":"upstream"},{"provider":"cvelistv5","source_id":"CVE-2023-40187","url":"https://www.cve.org/CVERecord?id=CVE-2023-40187","license":"CC-BY-4.0","modified_at":"2025-02-13T17:07:43.347Z","relation":"self"},{"provider":"csaf-suse","source_id":"CVE-2023-40187","url":"https://www.suse.com/security/cve/CVE-2023-40187/","license":"TLP:CLEAR, mirroring permitted","modified_at":"2025-10-07T01:03:55Z","relation":"self"},{"provider":"osv","source_id":"UBUNTU-CVE-2023-40187","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2023-40187","license":"CC-BY-SA-4.0","modified_at":"2025-07-16T08:16:58.232646Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2023-40187","url":"https://access.redhat.com/security/cve/CVE-2023-40187","license":"CC-BY-4.0","modified_at":"2024-01-31T17:26:19Z","relation":"self"}]}
