{"id":"CVE-2026-49496","published":"2026-06-10T12:37:30Z","modified":"2026-07-14T21:33:24Z","title":"Ghidra < 12.1 - Heap-Use-After-Free in SleighBuilder::generatePointerAdd via Vector Reallocation","vendor":"nationalsecurityagency","product":"ghidra","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00169,"percentile":0.0648,"provenance":"source"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"references":[{"url":"https://github.com/NationalSecurityAgency/ghidra/security/advisories/GHSA-gqh9-2c72-wpjc","tags":["vendor-advisory"]},{"url":"https://github.com/NationalSecurityAgency/ghidra/commit/8a3018d5efcb07d2ec40bacdd6063cb6f01c8edf","tags":["patch"]},{"url":"https://www.vulncheck.com/advisories/ghidra-heap-use-after-free-in-sleighbuilder-generatepointeradd-via-vector-reallocation","tags":["third-party-advisory"]}],"priority":{"score":5.6,"factors":[{"name":"EPSS percentile","points":1.3},{"name":"CVSS severity","points":4.27}]},"vendorSlug":"nationalsecurityagency","affectedVersions":[{"vendor":"nationalsecurityagency","product":"ghidra","versions":["< 12.1"]}],"fixedVersions":[{"vendor":"nationalsecurityagency","product":"ghidra","versions":["12.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-10T13:42:47.898782Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-36005","exploited":false,"provenance":"source"}}