In the macho_parse_file 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.
3.4.0+dfsg-23.4.0+dfsg-2build13.6.3+dfsg-1ubuntu13.7.1-1ubuntu13.7.1-1ubuntu23.9.0-14.1.0-14.1.3-14.1.3-1build14.3.2-14.4.0-14.5.0-14.5.0-1build14.5.0-1build24.5.1-14.5.2-1Exploitability
AV:LAC:LPR:NUI:RScope
S:UImpact
C:HI:HA:HCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H