Advisory Details

May 26th, 2022

Apple macOS ImageIO WebP File Parsing Integer Overflow Remote Code Execution Vulnerability

ZDI-22-792
ZDI-CAN-16158

CVE ID CVE-2022-26711
CVSS SCORE 7.8, AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
AFFECTED VENDORS Apple
AFFECTED PRODUCTS macOS
VULNERABILITY DETAILS

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 parsing of WebP images in 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 from memory. An attacker can leverage this vulnerability to execute code in the context of the current process.

ADDITIONAL DETAILS Apple has issued an update to correct this vulnerability. More details can be found at:
https://support.apple.com/en-us/HT213257
DISCLOSURE TIMELINE
  • 2022-02-25 - Vulnerability reported to vendor
  • 2022-05-26 - Coordinated public release of advisory
CREDIT actae0n of Blacksun Hackers Club
BACK TO ADVISORIES