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

radare2のバージョン6.1.4以前には、PDBパーサのprint_gvars()関数にコマンドインジェクションの脆弱性が存在します。この脆弱性により、攻撃者はPEセクションヘッダ名フィールドに改行バイトを埋め込むことで任意のコマンドを実行できます。攻撃者は特別に細工されたセクション名を持つ悪意のあるPDBファイルを作成し、idpコマンドがファイルを処理する際に実行されるr2コマンドを注入することが可能です。

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

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

Publication Date April 15, 2026, midnight
Registration Date May 7, 2026, 12:05 p.m.
Last Update May 7, 2026, 12:05 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年05月07日]
  掲載
May 7, 2026, 12:05 p.m.

NVD Vulnerability Information
CVE-2026-40499
Summary

radare2 prior to version 6.1.4 contains a command injection vulnerability in the PDB parser's print_gvars() function that allows attackers to execute arbitrary commands by embedding a newline byte in the PE section header name field. Attackers can craft a malicious PDB file with specially crafted section names to inject r2 commands that are executed when the idp command processes the file.

Publication Date April 15, 2026, 1:17 p.m.
Registration Date April 17, 2026, 4:11 a.m.
Last Update April 21, 2026, 1:16 a.m.
Related information, measures and tools
Common Vulnerabilities List