CVE-2026-52757: Use After Free in nationalsecurityagency ghidra
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.
AI Analysis
Technical Summary
CVE-2026-52757 is a heap-use-after-free vulnerability affecting Ghidra before version 12.1. It exists in the decompiler component, specifically within the HighVariable::merge() function during the variable merging pass. An attacker can craft a binary that causes stale pointers in the HighIntersectTest::highedgemap cache to be dereferenced, resulting in the reading and writing of the flags field of freed heap memory when the binary is opened in the decompiler view. This vulnerability requires user interaction (opening the binary) and local access to the Ghidra tool. No official patch or remediation level has been stated in the available data.
Potential Impact
Successful exploitation allows an attacker to cause use-after-free conditions in Ghidra's decompiler, potentially leading to memory corruption. The CVSS score of 4.6 indicates a medium impact, with local attack vector and low complexity. There is no indication of privilege escalation or remote exploitation without user interaction. No known exploits in the wild have been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should exercise caution when opening untrusted binaries in Ghidra, especially versions prior to 12.1. Monitoring vendor channels for updates is recommended.
CVE-2026-52757: Use After Free in nationalsecurityagency ghidra
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.
CVSS v4.0
Score 4.6medium
Affected software
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-52757 is a heap-use-after-free vulnerability affecting Ghidra before version 12.1. It exists in the decompiler component, specifically within the HighVariable::merge() function during the variable merging pass. An attacker can craft a binary that causes stale pointers in the HighIntersectTest::highedgemap cache to be dereferenced, resulting in the reading and writing of the flags field of freed heap memory when the binary is opened in the decompiler view. This vulnerability requires user interaction (opening the binary) and local access to the Ghidra tool. No official patch or remediation level has been stated in the available data.
Potential Impact
Successful exploitation allows an attacker to cause use-after-free conditions in Ghidra's decompiler, potentially leading to memory corruption. The CVSS score of 4.6 indicates a medium impact, with local attack vector and low complexity. There is no indication of privilege escalation or remote exploitation without user interaction. No known exploits in the wild have been reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should exercise caution when opening untrusted binaries in Ghidra, especially versions prior to 12.1. Monitoring vendor channels for updates is recommended.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-06-08T15:20:09.274Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a2967b2c9170919df1fd8f5
Added to database: 6/10/2026, 1:33:38 PM
Last enriched: 6/10/2026, 1:50:01 PM
Last updated: 6/10/2026, 2:59:35 PM
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.