CVE-2026-49496
Medium
Description
Ghidra before 12.1 contains a heap-use-after-free vulnerability in SleighBuilder::generatePointerAdd caused by iterator invalidation when PcodeCacher::allocateInstruction reallocates the issued vector. Attackers can trigger memory corruption by decompiling malicious binaries through the public Sleigh::oneInstruction C++ API, affecting downstream SLEIGH library consumers.
SeverityMedium
CVSS6.1
Exploit probability—
ProductNsa Ghidra
PublishedJun 10, 2026
First seenJun 10, 2026
Weakness typeCWE-416Use after free
How to fix
Update
- nsa ghidra12.1 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| nsa ghidra | v < 12.1 | 12.1 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.