{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:radare:radare2:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "6.1.4"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "CPE_RANGE"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "4661541e40947fbc269b0c2686d1cd52ad69c1dc"
            }
          ],
          "repo": "https://github.com/radareorg/radare2",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-78"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40517.json"
  },
  "details": "radare2 prior to 6.1.4 contains a command injection vulnerability in the PDB parser's print_gvars() function that allows attackers to execute arbitrary commands by crafting a malicious PDB file with newline characters in symbol names. Attackers can inject arbitrary radare2 commands through unsanitized symbol name interpolation in the flag rename command, which are then executed when a user runs the idp command against the malicious PDB file, enabling arbitrary OS command execution through radare2's shell execution operator.",
  "id": "CVE-2026-40517",
  "modified": "2026-07-08T05:38:32.150071728Z",
  "published": "2026-04-22T21:44:12.543Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40517.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-40517"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/radare2-command-injection-via-pdb-parser-symbol-names"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/radareorg/radare2/issues/25730"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/radareorg/radare2/pull/25731"
    },
    {
      "type": "EVIDENCE",
      "url": "https://blog.calif.io/p/mad-bugs-discovering-a-0-day-in-zero"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "radare2 \u003c 6.1.4 Command Injection via PDB Parser Symbol Names"
}