CVE-2026-49496

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:nsa:ghidra:*:*:*:*:*:*:*:*

History

11 Jun 2026, 19:50

Type Values Removed Values Added
First Time Nsa ghidra
Nsa
CPE cpe:2.3:a:nsa:ghidra:*:*:*:*:*:*:*:*
References () https://github.com/NationalSecurityAgency/ghidra/commit/8a3018d5efcb07d2ec40bacdd6063cb6f01c8edf - () https://github.com/NationalSecurityAgency/ghidra/commit/8a3018d5efcb07d2ec40bacdd6063cb6f01c8edf - Patch
References () https://github.com/NationalSecurityAgency/ghidra/security/advisories/GHSA-gqh9-2c72-wpjc - () https://github.com/NationalSecurityAgency/ghidra/security/advisories/GHSA-gqh9-2c72-wpjc - Exploit, Vendor Advisory
References () https://www.vulncheck.com/advisories/ghidra-heap-use-after-free-in-sleighbuilder-generatepointeradd-via-vector-reallocation - () https://www.vulncheck.com/advisories/ghidra-heap-use-after-free-in-sleighbuilder-generatepointeradd-via-vector-reallocation - Third Party Advisory

10 Jun 2026, 15:16

Type Values Removed Values Added
References () https://github.com/NationalSecurityAgency/ghidra/security/advisories/GHSA-gqh9-2c72-wpjc - () https://github.com/NationalSecurityAgency/ghidra/security/advisories/GHSA-gqh9-2c72-wpjc -

10 Jun 2026, 14:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-06-10 14:16

Updated : 2026-06-11 19:50


NVD link : CVE-2026-49496

Mitre link : CVE-2026-49496

CVE.ORG link : CVE-2026-49496


JSON object : View

Products Affected

nsa

  • ghidra
CWE
CWE-416

Use After Free