← Vulnerability feed

Vulnerability record · CVE-2026-40527 · published 17 April 2026

CVE-2026-40527: Radare2 os command injection vulnerability

Radare · Radare2

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.

8.5 CVSS 4.0 High EPSS 1.5% · top 27.6% CWE-78 · OS command injection
8.5CVSS 4.0 base score
1.5%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
3References, 1 tagged exploit
14 Jul 2026Last modified by NVD

Description

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.

CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2026-40527 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2025-1864Radare2 memory buffer overflow vulnerabilityImproper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in radareorg radare2 allows Overflow Buffers.This issue affects…EPSS 0.48%10.0CVE-2025-1744Radare2 out-of-bounds write vulnerabilityOut-of-bounds Write vulnerability in radareorg radare2 allows heap-based buffer over-read or buffer overflow.This issue affects radare2: before <5.9.…EPSS 0.51%9.8CVE-2024-29646Radare2 classic buffer overflow vulnerabilityBuffer Overflow vulnerability in radarorg radare2 v.5.8.8 allows an attacker to execute arbitrary code via the name, type, or group fields.EPSS 0.92%9.8CVE-2023-46569Radare2 out-of-bounds read vulnerabilityAn out-of-bounds read in radare2 v.5.8.9 and before exists in the print_insn32_fpu function of libr/arch/p/nds32/nds32-dis.h.EPSS 0.92%9.8CVE-2023-46570Radare2 out-of-bounds read vulnerabilityAn out-of-bounds read in radare2 v.5.8.9 and before exists in the print_insn32 function of libr/arch/p/nds32/nds32-dis.h.EPSS 0.90%9.8CVE-2023-4322Radare2 heap-based buffer overflow vulnerabilityHeap-based Buffer Overflow in GitHub repository radareorg/radare2 prior to 5.9.0.EPSS 0.95%9.8CVE-2022-0559Radare2 use after free vulnerabilityUse After Free in GitHub repository radareorg/radare2 prior to 5.6.2.EPSS 1.3%9.8CVE-2022-0139Radare2 use after free vulnerabilityUse After Free in GitHub repository radareorg/radare2 prior to 5.6.0.EPSS 1.2%

Source: NIST National Vulnerability Database (record CVE-2026-40527), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.