CVE-2026-52757
Ghidra < 12.1 - Heap-use-after-free in HighVariable::merge() during decompilation
CVSS Score
4.4
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-416 |
| Vendor | nationalsecurityagency |
| Product | ghidra |
| Published | Jun 10, 2026 |
Stay Ahead of the Next One
Get instant alerts for nationalsecurityagency ghidra
Be the first to know when new medium vulnerabilities affecting nationalsecurityagency ghidra are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
Low
Affected Versions
nationalsecurityagency / ghidra
0 < 12.1
References
Credits
Apple Security Engineering and Architecture (SEAR)