Use-After-Free in JavaScriptCore String.replace (Safari/iOS <10.3)
A use-after-free vulnerability exists in the String.replace method of JavaScriptCore in Apple Safari on iOS prior to version 10.3. This flaw allows remote attackers to execute arbitrary code by enticing a user to visit a maliciously crafted web page or open a crafted file, exploiting improper memory management during string replacement operations.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows remote code execution in the context of the affected browser, potentially leading to full compromise of the device if chained with other vulnerabilities (e.g., sandbox escapes).
If you can’t patch tonight, do this now.
Restrict access to untrusted web content and avoid opening files from unknown sources until the device is updated. Employ browser security features and consider disabling JavaScript where feasible as a temporary measure.
Patch, then assume compromise.
Upgrade to iOS 10.3 or later, where the vulnerability has been patched by Apple.
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.