Advisory Details

May 12th, 2026

Apple Safari Regular Expression Duplicate Named Groups Heap-based Buffer Overflow Remote Code Execution Vulnerability

ZDI-26-313
ZDI-CAN-29186

CVE ID CVE-2026-28847
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 regular expression named groups. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to 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-ca/127115
DISCLOSURE TIMELINE
  • 2026-03-26 - Vulnerability reported to vendor
  • 2026-05-12 - Coordinated public release of advisory
  • 2026-05-12 - Advisory Updated
CREDIT Anonymous
BACK TO ADVISORIES