Advisory Details

May 26th, 2022

Apple Safari WebGL generateMipmap Out-Of-Bounds Write Remote Code Execution Vulnerability

ZDI-22-793
ZDI-CAN-16206

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

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Apple Safari. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file.

The specific flaw exists within the WebGL library. The issue results from the lack of proper validation of user-supplied data, which can result in a write past the end of an allocated buffer. 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-03-02 - Vulnerability reported to vendor
  • 2022-05-26 - Coordinated public release of advisory
CREDIT Jeonghoon Shin of Theori
BACK TO ADVISORIES