Skip to main content

Ghidra EUVDEUVD-2026-36016

| CVE-2026-52757 MEDIUM
Use After Free (CWE-416)
2026-06-10 VulnCheck
4.6
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Craft binary triggering highedgemap stale pointer
  2. Delivery
    Deliver binary to target analyst (phishing, repo, crackme)
  3. Exploit
    Victim opens binary in Ghidra decompiler view
  4. Install
    HighVariable::merge() processes crafted variable structure
  5. C2
    Stale pointer in highedgemap cache dereferenced
  6. Execute
    Freed heap memory flags field read/written
  7. Impact
    Ghidra process crash or heap corruption

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The CVSS 4.0 vector AV:L/UI:A establishes two mandatory prerequisites: (1) the attacker must deliver a specially crafted binary to the victim's local filesystem or accessible path - remote unauthenticated network exploitation is not possible per the local attack vector; and (2) the victim must actively open the crafted binary in Ghidra and cause the decompiler view to be invoked, which triggers the HighVariable::merge() variable merging pass. No authentication or elevated privileges are required on the analyst's system (PR:N). Exploitation is further constrained by: no scope change (SC:N), meaning a successful trigger is contained to the Ghidra process and cannot directly affect other system components; impact limited to low integrity and low availability on the vulnerable system only (VC:N/VI:L/VA:L); and the requirement that the victim uses a Ghidra version prior to 12.1 with the decompiler component active. The primary limiting factor is mandatory user interaction - without the analyst opening the file in the decompiler, the vulnerability cannot be reached.

Impact

The CVSS 4.0 score of 4.6 (Medium) is consistent with the constrained impact profile. The vector AV:L/AC:L/AT:N/PR:N/UI:A establishes a local attack surface requiring active user interaction - the victim must open the crafted binary in Ghidra's decompiler view - which significantly limits opportunistic or automated exploitation. Impact metrics VC:N/VI:L/VA:L confirm only low integrity and availability effects on the vulnerable system with no confidentiality exposure and no scope change (SC:N/SI:N/SA:N), meaning exploitation does not pivot beyond the Ghidra process itself. EPSS data was not provided and cannot be quantified from available data. The CVE is not listed in CISA KEV, and no POC has been identified, making this a low exploitation-signal finding at present. However, context matters: Ghidra's user base consists largely of malware analysts and vulnerability researchers who by profession open untrusted, adversarially crafted binaries - the exact social engineering vector this bug requires. A threat actor targeting the reverse engineering community (e.g., via a poisoned crackme, a disguised malware sample, or a supply-chain lure) could reliably trigger this vulnerability without needing elevated network access.

Exploit ScenarioDerived

A threat actor targeting security researchers crafts a malicious binary - packaged as a crackme challenge, a shared malware sample, or a file delivered via phishing - designed to trigger the stale-pointer dereference in HighIntersectTest::highedgemap during decompilation. When an analyst opens the binary in an unpatched Ghidra instance and navigates to the decompiler view, the HighVariable::merge() function processes the crafted variable structure, dereferences the freed heap pointer, and reads or writes the flags field of the freed object, at minimum crashing the Ghidra process and potentially enabling further memory corruption primitives depending on heap layout. No public exploit code has been identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 10, 2026

Heap-use-after-free corruption in Ghidra's decompiler before version 12.1 allows a local attacker - or any actor who can deliver a crafted binary to a target analyst - to corrupt freed heap memory when the victim opens the file in the decompiler view. The vulnerability resides in HighVariable::merge() during the variable merging pass, where stale pointers in the HighIntersectTest::highedgemap cache are dereferenced against freed memory, producing low-impact integrity and availability effects on the Ghidra process. No active exploitation has been confirmed (not in CISA KEV) and no public exploit code has been identified at time of analysis, but the tool's user base of security researchers who routinely open untrusted binaries elevates the practical threat profile.

RemediationAI

Upgrade to Ghidra 12.1 or later, which resolves the heap-use-after-free in HighVariable::merge() per the vendor advisory at https://github.com/NationalSecurityAgency/ghidra/security/advisories/GHSA-8jqp-qv73-395r. Prior to patching, the most effective compensating control is to restrict decompiler usage to sandboxed or isolated environments - for example, running Ghidra inside a disposable container or VM when analyzing untrusted samples, a practice already aligned with safe malware analysis hygiene. This eliminates the ability of a triggered crash or memory corruption event to affect the analyst's host system, at the cost of minor workflow overhead when spinning up isolated instances. Analysts should avoid opening binaries from untrusted sources directly on production workstations using unpatched Ghidra versions. There is no known configuration flag to disable the variable merging pass without degrading decompiler functionality, so sandboxing is the most practical pre-patch mitigation.

Affected VersionsENISA

Ghidra 0 <12.1

Affected Packages

euvd ghidra fix: 12.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Ghidra is NSA's open-source reverse engineering framework (CPE: cpe:2.3:a:nationalsecurityagency:ghidra:*:*:*:*:*:*:*:*), and this vulnerability lives inside its decompiler engine. CWE-416 (Use After Free) describes the root cause class: during the variable merging pass, the HighVariable::merge() function fails to properly invalidate or refresh cached pointers in the HighIntersectTest::highedgemap data structure after the backing heap objects are freed. When the decompiler later processes these stale cache entries, it dereferences pointers to already-freed memory regions and reads and writes the flags field of those objects. This is a classic temporal memory safety violation - the object lifetime ends, but a reference to it persists in a cache that is not cleared, creating a window where freed memory can be accessed with attacker-influenced data from a crafted binary's structure.

Know when Ghidra gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 4.6 MEDIUM
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

Primary rating from Vendor (VulnCheck) · only source for this CVE.

CVSS VectorVendor: VulnCheck

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

Lifecycle Timeline

2
Patch available
Jun 10, 2026 - 15:01 EUVD
CVSS changed
Jun 10, 2026 - 14:22 NVD
4.4 (MEDIUM) 4.6 (MEDIUM)

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.0%
Top 98% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

23
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +23
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Ghidra

View all
CVE-2023-22671 CRITICAL POC
9.8 Jan 06

Ghidra/RuntimeScripts/Linux/support/launch.sh in NSA Ghidra through 10.2.2 passes user-provided input into eval, leading

CVE-2019-16941 CRITICAL POC
9.8 Sep 28

NSA Ghidra through 9.0.4, when experimental mode is enabled, allows arbitrary code execution if the Read XML Files featu

CVE-2019-13625 CRITICAL POC
9.1 Jul 17

NSA Ghidra before 9.0.1 allows XXE when a project is opened or restored, or a tool is imported, as demonstrated by a pro

CVE-2019-17665 HIGH POC
7.8 Oct 16

NSA Ghidra before 9.0.2 is vulnerable to DLL hijacking because it loads jansi.dll from the current working directory. Ra

CVE-2019-13623 HIGH POC
7.8 Jul 17

In NSA Ghidra before 9.1, path traversal can occur in RestoreTask.java (from the package ghidra.app.plugin.core.archive)

CVE-2026-4946 HIGH
8.8 Mar 29

Command injection in NSA Ghidra (versions before 12.0.3) executes arbitrary commands when analysts click on maliciously

CVE-2026-52758 HIGH
8.7 Jun 10

SQL injection in Ghidra's BSim binary-similarity component (versions before 12.1) allows authenticated remote attackers

CVE-2026-52754 HIGH
8.7 Jun 10

Authentication bypass in NSA Ghidra versions prior to 12.1 allows any holder of a valid CA-signed certificate to imperso

CVE-2026-49498 HIGH
8.7 Jun 10

SQL injection in Ghidra's PostgreSQL collaboration backend (versions 11.0 through pre-12.1) allows authenticated users t

CVE-2026-52751 HIGH
8.6 Jun 10

Remote code execution in NSA Ghidra before version 12.1 allows attackers to execute arbitrary commands when a user opens

CVE-2026-52750 HIGH
8.4 Jun 10

Command injection in Ghidra versions before 12.1 on Windows allows attackers to execute arbitrary OS commands under the

CVE-2026-52755 HIGH
8.4 Jun 10

Arbitrary file write in NSA's Ghidra reverse-engineering framework before version 12.0.4 allows attackers to escape the

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy