radare2 prior to version 6.1.4 contains a command injection vulnerability in the PDB parser's print_gvars() function that allows attackers to execute arbitrary commands by embedding a newline byte in the PE section header name field. Attackers can craft a malicious PDB file with specially crafted section names to inject r2 commands that are executed when the idp command processes the file.
{
"binaries": [
{
"binary_version": "0.9.6-3.1ubuntu1",
"binary_name": "libradare2-0.9.6"
},
{
"binary_version": "0.9.6-3.1ubuntu1",
"binary_name": "libradare2-common"
},
{
"binary_version": "0.9.6-3.1ubuntu1",
"binary_name": "radare2"
},
{
"binary_version": "0.9.6-3.1ubuntu1",
"binary_name": "radare2-plugins"
}
]
}