ZDI-CAN-29186: ZDI-26-313: Apple Safari Regular Expression Duplicate Named Groups Heap-based Buffer Overflow Remote Code Execution Vulnerability

Published May 12, 2026
·
Updated

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.

Other sources

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 ZDI has assigned a CVSS rating of 8.8. The following CVEs are assigned: CVE-2026-28847.

ZDI

Affected Software

1 affected component
Apple Safari

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Apple Safari to a version that resolves this vulnerability.

    Patch ZDI-26-313
  2. Compensating control

    Because user interaction is required (the target must visit a malicious page or open a malicious file), reduce exposure by restricting browsing to trusted sites and treating unsolicited/malicious files or links as untrusted until Safari is updated.

Event History

May 12, 2026
Advisory Published
via ZDI·12:00 AM
Data Sourced
via ZDI·12:00 AM
DescriptionSeverityAffected Software
Advisory Published
via ZDI·05:00 AM

Frequently Asked Questions

1

What is the severity of ZDI-CAN-29186?

ZDI-CAN-29186 has a critical severity due to its potential for remote code execution.

2

How do I fix ZDI-CAN-29186?

To mitigate ZDI-CAN-29186, users should update Apple Safari to the latest version released by Apple.

3

What types of exploits are possible with ZDI-CAN-29186?

ZDI-CAN-29186 can be exploited to perform arbitrary code execution on affected systems.

4

What versions of Apple Safari are affected by ZDI-CAN-29186?

ZDI-CAN-29186 affects all installations of Apple Safari prior to the security update that addresses this vulnerability.

5

Is user interaction required to exploit ZDI-CAN-29186?

Yes, user interaction is required to successfully exploit ZDI-CAN-29186.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203