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.
References
| Link | Resource |
|---|---|
| https://github.com/NationalSecurityAgency/ghidra/security/advisories/GHSA-8jqp-qv73-395r | Exploit Vendor Advisory |
| https://www.vulncheck.com/advisories/ghidra-heap-use-after-free-in-highvariable-merge-during-decompilation | Third Party Advisory |
| https://github.com/NationalSecurityAgency/ghidra/security/advisories/GHSA-8jqp-qv73-395r | Exploit Vendor Advisory |
Configurations
History
No history.
Information
Published : 2026-06-10 14:16
Updated : 2026-07-14 22:17
NVD link : CVE-2026-52757
Mitre link : CVE-2026-52757
CVE.ORG link : CVE-2026-52757
JSON object : View
Products Affected
nsa
- ghidra
CWE
CWE-416
Use After Free
