CVE-2026-49496 Ghidra < 12.1 - Heap-Use-After-Free in SleighBuilder::generatePointerAdd via Vector Reallocation
MediumCVSS 6.9
EPSS 0.17%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| nationalsecurityagency/ghidra | < 12.1 | 12.1 | Fixed |
| nsa Ghidra | < 12.1 | 12.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| nationalsecurityagency/ghidra | < 12.1 | 12.1 |
| nsa Ghidra | < 12.1 | 12.1 |
References
- GitHub Security Advisory (GHSA-gqh9-2c72-wpjc) exploit vendor-advisory
- Patch Commit patch
- www.vulncheck.com third-party-advisory