Advisory Details

October 2nd, 2024

Apple macOS ImageIO PSD File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability

ZDI-24-1313
ZDI-CAN-24194

CVE ID CVE-2024-40777
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 ImageIO framework. Crafted data in a PSD file can trigger an overflow of a heap-based 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/HT214119
DISCLOSURE TIMELINE
  • 2024-06-05 - Vulnerability reported to vendor
  • 2024-10-02 - Coordinated public release of advisory
  • 2024-10-02 - Advisory Updated
CREDIT Junsung Lee
BACK TO ADVISORIES