Use-after-free in Ghidra - #VU131581

 

Use-after-free in Ghidra - #VU131581

Published: May 15, 2026


Vulnerability identifier: #VU131581
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: N/A
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: National Security Agency
Affected software:
Ghidra

Detailed vulnerability description

The vulnerability allows a remote attacker to cause memory corruption.

The vulnerability exists due to use-after-free in SleighBuilder::generatePointerAdd when decompiling a malicious binary via the public C++ API. A remote attacker can trick the victim into decompiling a crafted binary to cause memory corruption.

The issue affects downstream users of the Sleigh C++ backend and does not impact the Ghidra Java interface. User interaction is required to decompile the crafted binary.


Remediation

Install security update from vendor's website.

Sources