Advisory Details

May 21st, 2025

Apple Safari Scrollbar Animation Use-After-Free Remote Code Execution Vulnerability

ZDI-25-301
ZDI-CAN-26150

CVE ID CVE-2025-31238
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 handling of scrollbar animation. The issue results from the lack of validating the existence of an object prior to performing operations on the object. An attacker can leverage this vulnerability to execute code in the context of the browser process.

ADDITIONAL DETAILS Apple has issued an update to correct this vulnerability. More details can be found at:
https://support.apple.com/en-us/122716
DISCLOSURE TIMELINE
  • 2025-03-06 - Vulnerability reported to vendor
  • 2025-05-21 - Coordinated public release of advisory
  • 2025-05-21 - Advisory Updated
CREDIT wac
BACK TO ADVISORIES