CVE-2026-40527: radare2 Command Injection via DWARF Parameter Names

Published Apr 17, 2026
·
Updated

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 DWTAGformalparameter 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.

Affected Software

2 affected components
Radare2 Radare2<bc5a890
Radare Radare2<6.1.6

Event History

Apr 17, 2026
CVE Published
via MITRE·08:25 PM
Data Sourced
via MITRE·08:25 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:16 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-40527?

CVE-2026-40527 is considered a critical vulnerability due to the potential for command injection.

2

How do I fix CVE-2026-40527?

To fix CVE-2026-40527, upgrade radare2 to a version after commit bc5a890.

3

Who is affected by CVE-2026-40527?

CVE-2026-40527 affects users of radare2 versions prior to commit bc5a890.

4

What type of vulnerability is CVE-2026-40527?

CVE-2026-40527 is a command injection vulnerability embedded within DWARF parameter names.

5

What can an attacker achieve with CVE-2026-40527?

An attacker exploiting CVE-2026-40527 can execute arbitrary r2 commands through maliciously crafted ELF binaries.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203