Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-52757: Use After Free in nationalsecurityagency ghidra

0
Medium
VulnerabilityCVE-2026-52757cvecve-2026-52757
Published: Wed Jun 10 2026 (06/10/2026, 12:42:01 UTC)
Source: CVE Database V5
Vendor/Project: nationalsecurityagency
Product: 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

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vuln. Confidentiality
None
Vuln. Integrity
Low
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N

Affected software

GitHub Actionsmore threats →cve
ghidra
pkg:github/ghidra
Affected versions
<12.1

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/10/2026, 13:50:01 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses