1. Home
  2. Vulnerabilities
  3. CVE-2026-40527

CVE-2026-40527

radare2 Command Injection via DWARF Parameter Names

Published 17 Apr 2026 · modified 8 Nov 2026 · Sources: NVD, CNA (vendor or assigner), EPSS (FIRST)

Medium 47/100

Summary

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.

Affected products and versions

Radare (1 line(s))
Radare
ProductVersionsFixed inSource
Radare2 before 6.1.6 (excluded) — NVD

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)

References

Data provenance

Status
NVD
Publication date
NVD
Description
CNA (vendor or assigner)
CVSS score
CNA (vendor or assigner)
Weakness (CWE)
CNA (vendor or assigner)
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H (CVSS 3.1, CNA:VulnCheck)
Weakness
CWE-78 · Injection de commandes / code

How this data is obtained and calculated