NVD Vulnerability Detail
Search Exploit, PoC
CVE-2026-49496
Summary

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.

Publication Date June 10, 2026, 11:16 p.m.
Registration Date June 11, 2026, 4:17 a.m.
Last Update June 12, 2026, 4:50 a.m.
CVSS3.1 : MEDIUM
スコア 6.1
Vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H
攻撃元区分(AV) ローカル
攻撃条件の複雑さ(AC)
攻撃に必要な特権レベル(PR) 不要
利用者の関与(UI)
影響の想定範囲(S) 変更なし
機密性への影響(C) なし
完全性への影響(I)
可用性への影響(A)
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:nsa:ghidra:*:*:*:*:*:*:*:* 12.1
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
NSAのGhidraにおける解放済みメモリの使用に関する脆弱性
Title NSAのGhidraにおける解放済みメモリの使用に関する脆弱性
Summary

Ghidra 12.1より前のバージョンには、PcodeCacher::allocateInstructionが発行済みベクターを再割り当てする際にイテレータが無効化されることにより、SleighBuilder::generatePointerAddでヒープ使用後解放(use-after-free)脆弱性が発生します。攻撃者は公開されているSleigh::oneInstruction C++ APIを通じて悪意のあるバイナリを逆コンパイルすることでメモリ破損を引き起こし、下流のSLEIGHライブラリ利用者に影響を及ぼします。

Possible impacts ・当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 ・当該ソフトウェアが扱う情報の一部が書き換えられる可能性があります。 ・当該ソフトウェアが完全に停止する可能性があります。 
Solution

ベンダ情報を参照して適切な対策を実施してください。

Publication Date June 10, 2026, midnight
Registration Date June 12, 2026, 2:45 p.m.
Last Update June 12, 2026, 2:45 p.m.
Affected System
NSA
Ghidra 12.1 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
1 [2026年06月12日]
  掲載
June 12, 2026, 2:45 p.m.