製品・ソフトウェアに関する情報
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.
CVSS3.0 : 警告
Score 6.1
Vector CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H
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.

NVD Vulnerability Information
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 11, 2026, 12:16 a.m.
Related information, measures and tools
Common Vulnerabilities List