CVE-2026-49496CWE-416

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

Medium · published June 10, 2026

CVSS v4.0
6.9
EPSS
0%
Percentile
6.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
6.9 · MEDIUM
Vector
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
EPSS
0.00177 · 6.9th percentile
Weakness
CWE-416 · Use After Free
Published
2026-06-10T12:37Z
EPSS history
Timeline
  • 10 JUN 12:37Z
    Ghidra < 12.1 - Heap-Use-After-Free in SleighBuilder::generatePointerAdd via Vector Reallocation
    cvelistv5