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…
EPSS 0.1%top 96%

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

0
Medium
VulnerabilityCVE-2026-52757cvecve-2026-52757
Published: 06/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

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/15/2026, 10:10:47 UTC

Technical Analysis

CVE-2026-52757 is a heap-use-after-free vulnerability in the National Security Agency's Ghidra software before version 12.1. The flaw exists in the decompiler component, specifically in the HighVariable::merge() function during the variable merging pass. Attackers can exploit this by crafting a binary that causes stale pointers in the HighIntersectTest::highedgemap cache to be dereferenced, resulting in the reading and writing of freed heap memory's flags field when the binary is opened in the decompiler view.

Potential Impact

Successful exploitation allows an attacker to cause use-after-free conditions in Ghidra's decompiler, potentially leading to memory corruption. This could result in application crashes or undefined behavior when analyzing malicious binaries. There is no indication of privilege escalation or remote code execution from the provided data.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official fix or patch link is provided, users should monitor the National Security Agency's Ghidra advisories for updates. Until a fix is available, avoid opening untrusted or specially crafted binaries in the decompiler view to reduce risk.

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: 06/10/2026, 13:33:38 UTC

Last enriched: 07/15/2026, 10:10:47 UTC

Last updated: 07/31/2026, 19:22:59 UTC

Views: 125

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