CVE-2026-52757 Details
Description
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.
A heap-use-after-free vulnerability has been identified in Ghidra versions prior to 12.1. This vulnerability occurs in the decompiler's HighVariable::merge() function during the variable merging process. Attackers can exploit this issue by crafting a binary that causes stale pointers in the HighIntersectTest::highedgemap cache to be dereferenced. This exploitation reads and writes the flags field of freed heap memory when the binary is opened in Ghidra's decompiler view.
Users are advised to upgrade to Ghidra version 12.1 or later.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 10, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/NationalSecurityAgency/ghidra/security/advisories/GHSA-8jqp-qv73-395r | CISA-ADP | ExploitVendor Advisory |
| https://github.com/NationalSecurityAgency/ghidra/security/advisories/GHSA-8jqp-qv73-395r | [email protected] | ExploitVendor Advisory |
| https://www.vulncheck.com/advisories/ghidra-heap-use-after-free-in-highvariable-merge-during-decompilation | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-416 | Use After Free | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| nsa ghidra | < 12.1 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 14, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 12, 2026 | Initial Analysis | [email protected] |
| Jun 10, 2026 | CVE Modified | CISA-ADP |
| Jun 10, 2026 | New CVE Received | [email protected] |