CVE-2026-52757
Published:June 10, 2026
Updated:August 04, 2026
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.
Affected Packages
https://github.com/NationalSecurityAgency/ghidra.git (GITHUB):
Affected version(s) >=Ghidra_10.0_build <Ghidra_12.1_buildFix Suggestion:
Update to version Ghidra_12.1_buildRelated Resources (5)
Do you need more information?
Contact UsCVSS v4
Base Score:
4.6
Attack Vector
LOCAL
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
ACTIVE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
LOW
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
4.4
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
NONE
Integrity
LOW
Availability
LOW
Weakness Type (CWE)
Use After Free
EPSS
Base Score:
0.14