← CVE Intelligence

CVE-2026-49496

Ghidra < 12.1 - Heap-Use-After-Free in SleighBuilder::generatePointerAdd via Vector Reallocation PUBLISHED

Description (CNA)

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.

Affected (CNA)

Vendor / productVersions
nationalsecurityagency / ghidraaffected 0 before 12.1; unaffected 12.1

CWE

CWE-416

References

ADP enrichment

CISA-ADP

No English description supplied.