製品・ソフトウェアに関する情報
radareのradare2におけるOS コマンドインジェクションの脆弱性
Title radareのradare2におけるOS コマンドインジェクションの脆弱性
Summary

radare2のバージョン6.1.4未満には、PDBパーサのprint_gvars()関数にコマンドインジェクションの脆弱性があります。この脆弱性により、攻撃者はシンボル名に改行文字を含む悪意のあるPDBファイルを作成して任意のコマンドを実行できます。攻撃者は、フラグrenameコマンドにおいてサニタイズされていないシンボル名を差し込むことで任意のradare2コマンドを注入でき、ユーザーが悪意のあるPDBファイルに対してidpコマンドを実行すると、これらのコマンドが実行されます。これにより、radare2のシェル実行演算子を介して任意のOSコマンドを実行可能となります。

Possible impacts 当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 
Solution

正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date April 22, 2026, midnight
Registration Date April 30, 2026, 12:14 p.m.
Last Update April 30, 2026, 12:14 p.m.
CVSS3.0 : 重要
Score 7.8
Vector CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Affected System
radare
radare2 6.1.4 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
Change Log
No Changed Details Date of change
1 [2026年04月30日]
  掲載
April 30, 2026, 12:14 p.m.

NVD Vulnerability Information
CVE-2026-40517
Summary

radare2 prior to 6.1.4 contains a command injection vulnerability in the PDB parser's print_gvars() function that allows attackers to execute arbitrary commands by crafting a malicious PDB file with newline characters in symbol names. Attackers can inject arbitrary radare2 commands through unsanitized symbol name interpolation in the flag rename command, which are then executed when a user runs the idp command against the malicious PDB file, enabling arbitrary OS command execution through radare2's shell execution operator.

Publication Date April 23, 2026, 7:16 a.m.
Registration Date April 25, 2026, 4:06 a.m.
Last Update April 28, 2026, 2:04 a.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:radare:radare2:*:*:*:*:*:*:*:* 6.1.4
Related information, measures and tools
Common Vulnerabilities List