Apple macOS ImageIO EXR Parsing Integer Overflow Remote Code Execution Vulnerability

ID ZDI-21-147
Type zdi
Reporter Mickey Jin & Junzhi Lu of Trend Micro Mobile Security Research Team
Modified 2021-02-04T00:00:00


This vulnerability allows remote attackers to execute arbitrary code on affected installations of Apple macOS. Interaction with the ImageIO library is required to exploit this vulnerability but attack vectors may vary depending on the implementation. The specific flaw exists within the ImageIO framework. The issue results from the lack of proper validation of user-supplied data, which can result in an integer overflow before reading memory. An attacker can leverage this vulnerability to execute code in the context of the current process.