In the machoparsefile functionality in macho/macho.c of YARA 3.11.0, command_size may be inconsistent with the real size. A specially crafted MachO file can cause an out-of-bounds memory access, resulting in Denial of Service (application crash) or potential code execution.
{
"binaries": [
{
"binary_version": "3.9.0-1ubuntu0.1~esm1",
"binary_name": "libyara-dev"
},
{
"binary_version": "3.9.0-1ubuntu0.1~esm1",
"binary_name": "libyara3"
},
{
"binary_version": "3.9.0-1ubuntu0.1~esm1",
"binary_name": "yara"
}
],
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
}