{"id":"CVE-2026-142099","summary":"FreeRDP before 3.34.0 Use-After-Free via RDPDR Drive Hotplug Teardown","details":"FreeRDP before 3.34.0 contains a use-after-free vulnerability in the Windows RDPDR drive hotplug worker in rdpdr_main.c that occurs during channel teardown. When a session disconnects while the hotplug thread is still starting, drive_hotplug_thread_func() writes the window handle into the freed rdpdrPlugin structure, causing heap corruption or client crashes.","aliases":["GHSA-gjfp-736x-92hj"],"modified":"2026-12-02T14:45:29.360852946Z","published":"2026-12-02T12:19:54.569Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142099.json","unresolved_ranges":[{"extracted_events":[{"range":[{"fixed":"3.34.0"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"}]},{"extracted_events":[{"strategy":"CPEApplicability","range":[{"fixed":"3.34.0"}],"source":"CPE_FIELD"}]},{"extracted_events":[{"source":"DESCRIPTION","range":[{"fixed":"3.34.0"}]}]}],"cna_assigner":"VulnCheck","cwe_ids":["CWE-416"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142099.json"},{"type":"PACKAGE","url":"https://github.com/FreeRDP/FreeRDP"},{"type":"ARTICLE","url":"https://github.com/FreeRDP/FreeRDP/blob/3.33.1/channels/rdpdr/client/rdpdr_main.c#L440-L490"},{"type":"FIX","url":"https://github.com/FreeRDP/FreeRDP/commit/c941dbfec3096cfb7c30317eb85fceeb50f704cb"},{"type":"ADVISORY","url":"https://github.com/FreeRDP/FreeRDP/releases/tag/3.34.0"},{"type":"ADVISORY","url":"https://github.com/FreeRDP/FreeRDP/security/advisories/GHSA-gjfp-736x-92hj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142099"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/freerdp-before-3.34.0-use-after-free-via-rdpdr-drive-hotplug-teardown"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/freerdp/freerdp","events":[{"introduced":"0"},{"fixed":"c941dbfec3096cfb7c30317eb85fceeb50f704cb"},{"fixed":"f79a19def003495423a7b2e6a59a2252b2e37795"}],"database_specific":{"extracted_events":[{"range":[{"fixed":"c941dbfec3096cfb7c30317eb85fceeb50f704cb"}],"source":"REFERENCES_COMMIT"},{"original_tag":"3.34.0","range":[{"fixed":"f79a19def003495423a7b2e6a59a2252b2e37795"}],"source":"REFERENCES_TAG"}]}}],"versions":["3.5.1","3.5.0","3.4.0","3.3.0","3.2.0","3.1.0","3.0.0","3.0.0-rc0","3.0.0-beta4","3.0.0-beta3","3.0.0-beta2","3.0.0-beta1","2.0.0","2.0.0-rc4","2.0.0-rc3","2.0.0-rc2","2.0.0-rc1","2.0.0-rc0","2.0.0-beta1+android11","2.0.0-beta1+android10","1.2.0-beta1+android9","1.2.0-beta1+android7","1.1.0-beta+2013071101","1.1.0-beta1+ios4","1.1.0-beta1+android5","1.1.0-beta1+android4","1.1.0-beta1+ios3","1.1.0-beta1+ios2","1.1.0-beta1+android3","1.1.0-beta1+android2","1.1.0-beta1+ios1","1.1.0-beta1","1.0.1","1.0.0","1.0-beta5","1.0-beta4","1.0-beta2","1.0-beta1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142099.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N"}]}