{"id":"CVE-2026-52757","aliases":["CVE-2026-52757"],"related":[],"kind":"vulnerability","state":"published","title":"Ghidra < 12.1 - Heap-use-after-free in HighVariable::merge() during decompilation","summary":"Ghidra before 12.1 contains a heap-use-after-free vulnerability in the decompiler's HighVariable::merge() function during the variable merging pass. Attackers can trigger this vulnerability by crafting a binary that causes stale pointers in the HighIntersectTest::highedgemap cache to be dereferenced, reading and writing the flags field of freed heap memory when a user opens the binary in Ghidra's decompiler view.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Ghidra before 12.1 contains a heap-use-after-free vulnerability in the decompiler's HighVariable::merge() function during the variable merging pass. Attackers can trigger this vulnerability by crafting a binary that causes stale pointers in the HighIntersectTest::highedgemap cache to be dereferenced, reading and writing the flags field of freed heap memory when a user opens the binary in Ghidra's decompiler view.","source":"cvelist"},{"lang":"es","text":"Ghidra antes de 12.1 contiene una vulnerabilidad de uso después de liberación de heap en la función HighVariable::merge() del descompilador durante el paso de fusión de variables. Los atacantes pueden activar esta vulnerabilidad al crear un binario que provoca que se desreferencien punteros obsoletos en la caché HighIntersectTest::highedgemap, leyendo y escribiendo el campo ’flags’ de la memoria de heap liberada cuando un usuario abre el binario en la vista de descompilador de Ghidra.","source":"nvd"}],"published":"2026-06-10T12:42:01.080Z","modified":"2026-10-26T11:10:00.157Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N","score":4.6,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N","score":4.6,"rating":"MEDIUM"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L","score":4.4,"rating":"MEDIUM"}],"cwes":["CWE-416"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"12.1","status":"affected"},{"type":"custom","version":"12.1","status":"unaffected"}],"vendor":"nationalsecurityagency","product":"ghidra","repo":"https://github.com/nationalsecurityagency/ghidra","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"12.1"}],"vendor":"nsa","product":"ghidra","cpe":"cpe:2.3:a:nsa:ghidra:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/NationalSecurityAgency/ghidra/security/advisories/GHSA-8jqp-qv73-395r","tags":["exploit","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/ghidra-heap-use-after-free-in-highvariable-merge-during-decompilation","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Apple Security Engineering and Architecture (SEAR)"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-06-10T16:19:56.398Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-52757","url":"https://www.cve.org/CVERecord?id=CVE-2026-52757","licence":"CVE Terms of Use","modified":"2026-07-14T21:33:39.550Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-52757","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-52757","licence":"Public domain","modified":"2026-10-26T11:10:00.157Z"}],"updatedAt":"2026-11-25T22:59:24.322Z","epss":{"score":0.00144,"percentile":0.03929,"date":"2026-12-01T12:00:22.000Z"}}