CVE-2026-52757

Ghidra < 12.1 - Heap-use-after-free in HighVariable::merge() during decompilation

MEDIUM
4.4
CVSS Score
Published: June 10, 2026 at 12:42 PM UTC
Updated: October 26, 2026 at 11:10 AM UTC
2 products affected across 2 vendorsGhidraGhidra

Using ghidra by nationalsecurityagency?

Get instant alerts when new vulnerabilities affect ghidra - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM4.4
Exploit prediction
EPSS 0.1%
SSVC
PoC

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 12.1
Affected range stops below 12.1, so it looks safe — our inference, not a vendor statement
v < 12.1
Vendor states this is fixed in 12.1 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

SSVC — Action Prioritization

SSVCPoCNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

4.4MEDIUMVulnCheck
Attack Vector
LOCAL
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
NONE
Integrity
LOW
Availability
LOW
Vector?

Quick Info

StatusANALYZED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card