Skip to main content
Live Webinar with SANS (June 25)— Agentic CTI Automation for Fun & ProfitRegister Free
Mallory
HighPublic exploit

JavaScriptCore JIT incorrect CSE leading to out-of-bounds access

IdentifiersCVE-2020-9802CWE-682

CVE-2020-9802 is a JavaScriptCore/WebKit JIT compiler vulnerability affecting Apple platforms and Safari-related products. The issue was described by Apple as a logic issue in processing maliciously crafted web content that could lead to arbitrary code execution. Public technical analysis attributes the root cause to incorrect Common Subexpression Elimination (CSE) in the DFG JIT compiler: DFGClobberize did not properly account for the ArithMode of ArithNegate when modeling PureValue definitions, allowing a checked ArithNegate to be substituted with an unchecked ArithNegate. In exploitable conditions, an attacker can trigger the INT_MIN edge case in 32-bit signed arithmetic, violate compiler assumptions about integer ranges, and induce out-of-bounds read/write on the JavaScriptCore heap. Demonstrated exploitation corrupted adjacent JSArray metadata, then derived addrof and fakeobj primitives and ultimately stable arbitrary memory read/write in the Safari renderer process.

Share:
For your environment

Are you exposed to this one?

Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.

ANALYST BRIEF

Impact, mitigation & remediation

What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation can yield arbitrary code execution via malicious web content. At the primitive level, the bug enables out-of-bounds read/write on the JavaScriptCore heap, corruption of adjacent JSArray metadata, creation of addrof/fakeobj primitives, and escalation to arbitrary memory read/write within the renderer. This provides a path to full compromise of the Safari/WebKit content process and can serve as the initial access stage in a broader exploit chain.

Mitigation

If you can’t patch tonight, do this now.

Until patching is complete, reduce exposure to untrusted web content in Safari/WebKit-based contexts, especially on affected Apple devices and Safari on macOS. Where operationally feasible, restrict or disable access to attacker-controlled websites, use alternate fully patched browsers on platforms where that is possible, and apply broader exploit-chain mitigations by updating to releases that also fixed related mitigation bypasses such as CVE-2020-9870 and CVE-2020-9910. No complete workaround is available from the provided information.

Remediation

Patch, then assume compromise.

Apply the vendor fixes that address CVE-2020-9802. Apple states the issue is fixed in iOS 13.5 and iPadOS 13.5, tvOS 13.4.5, watchOS 6.2.5, Safari 13.1.1, iTunes 12.10.7 for Windows, iCloud for Windows 11.2, and iCloud for Windows 7.19. Technical analysis indicates the patch updated DFGClobberize so PureValue handling for ArithNegate is parameterized with node->arithMode(); related analysis also noted missing ArithMode handling for ArithAbs. Systems should be upgraded to the fixed versions or later.
PUBLIC EXPLOITS

Exploits

1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos (1 hidden).

VALID 1 / 2 TOTALView more in app
jitsploitationMaturityPoCVerified exploit

This repository contains a browser-based exploit for CVE-2020-9802, a JIT bug in the WebKit engine affecting iOS devices. The exploit is implemented as a single HTML file ('exploit.html') containing JavaScript that manipulates memory structures to achieve arbitrary code execution. The exploit is specifically tailored for the iPod7,1 running iOS 12.5.7, using hardcoded offsets and targeting the WebKit JIT vulnerability. Upon successful exploitation, a ROP chain is executed to launch the Calculator app, demonstrating code execution outside the browser sandbox. The README provides context, credits, and references to the original research and similar implementations. No network endpoints or external domains are contacted; the exploit operates entirely within the browser context. The code is a proof-of-concept and is not weaponized for broader use.

Billy-EllisDisclosed Nov 12, 2025javascripthtmlbrowser
EXPOSURE SURFACE

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
AppleIcloudapplication
AppleIpadosoperating_system
AppleIphone Osoperating_system
AppleItunesapplication
AppleSafariapplication
AppleTvosoperating_system
AppleWatchosoperating_system

Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.

What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, which detections to deploy, and what to do tonight.
Exposure mapping

Query your assets running an affected version, and investigate the blast radius.

Threat actor evidence

Every observed campaign linking this CVE to a named adversary.

Associated malware1

Malware families riding this exploit, with evidence and IOCs.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

Vendor-by-vendor mapping

Cross-references every affected SKU, including bundled OEM variants.

Social activity2

Community discussion across Reddit, Mastodon, and other social sources.