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

Published Jun 10, 2026
·
Updated

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 Software

3 affected components
National Security Agency Ghidra<12.1
National Security Agency SLEIGH<12.1
NSA Ghidra<12.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Ghidra to a version that resolves this vulnerability.

    Fixed in 12.1
  2. Compensating control

    Do not decompile untrusted or malicious binaries using the public Sleigh::oneInstruction C++ API. If decompilation of untrusted inputs is required, perform it only in a sandboxed or isolated environment and restrict access to the API to trusted users/processes.

Event History

Jun 10, 2026
CVE Published
via MITRE·12:37 PM
Data Sourced
via MITRE·12:37 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:16 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-49496?

CVE-2026-49496 has a medium severity rating of 6.9.

2

How do I fix CVE-2026-49496?

The vulnerability CVE-2026-49496 can be fixed by applying the available patch for Ghidra version 12.1 or later.

3

What types of attacks can exploit CVE-2026-49496?

CVE-2026-49496 can be exploited through memory corruption triggered by decompiling malicious binaries.

4

What software is affected by CVE-2026-49496?

CVE-2026-49496 affects Ghidra software versions prior to 12.1.

5

What is the nature of the vulnerability in CVE-2026-49496?

CVE-2026-49496 is a heap-use-after-free vulnerability caused by iterator invalidation during vector reallocation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203