CVE-2026-40527

radare2 prior to commit bc5a890 contains a command injection vulnerability in the afsv/afsvj command path where crafted ELF binaries can embed malicious r2 command sequences as DWARF DW_TAG_formal_parameter names. Attackers can craft a binary with shell commands in DWARF parameter names that execute when radare2 analyzes the binary with aaa and subsequently runs afsvj, allowing arbitrary shell command execution through the unsanitized parameter interpolation in the pfq command string.
Configurations

Configuration 1 (hide)

cpe:2.3:a:radare:radare2:*:*:*:*:*:*:*:*

History

05 Jun 2026, 18:10

Type Values Removed Values Added
CPE cpe:2.3:a:radare:radare2:*:*:*:*:*:*:*:*
First Time Radare
Radare radare2
References () https://github.com/radareorg/radare2/commit/bc5a89033db3ecb5b1f7bf681fc6ba4dcfc14683 - () https://github.com/radareorg/radare2/commit/bc5a89033db3ecb5b1f7bf681fc6ba4dcfc14683 - Patch
References () https://github.com/radareorg/radare2/pull/25821 - () https://github.com/radareorg/radare2/pull/25821 - Issue Tracking, Patch, Exploit
References () https://www.vulncheck.com/advisories/radare2-command-injection-via-dwarf-parameter-names - () https://www.vulncheck.com/advisories/radare2-command-injection-via-dwarf-parameter-names - Third Party Advisory

17 Apr 2026, 21:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-17 21:16

Updated : 2026-06-05 18:10


NVD link : CVE-2026-40527

Mitre link : CVE-2026-40527

CVE.ORG link : CVE-2026-40527


JSON object : View

Products Affected

radare

  • radare2
CWE
CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')