Skip to content

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.

PackageAffectedFixed inStatus
nationalsecurityagency/ghidra < 12.1 12.1 Fixed
nsa Ghidra < 12.1 12.1 Fixed

Affected products

ProductAffected versionsFixed in
nationalsecurityagency/ghidra < 12.1 12.1
nsa Ghidra < 12.1 12.1

References