CVE-2026-49496
Ghidra before 12.1 contains a heap-use-after-free vulnerability in …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/NationalSecurityAgency/ghidra/commit/8a3018d5efcb07d2ec40bacdd6063cb6f01c8edf
- github.com/NationalSecurityAgency/ghidra/security/advisories/GHSA-gqh9-2c72-wpjc
- www.vulncheck.com/advisories/ghidra-heap-use-after-free-in-sleighbuilder-generatepointerad
- nvd.nist.gov/vuln/detail/CVE-2026-49496
- cve.org/CVERecord?id=CVE-2026-49496
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.