CVE-2021-38003: V8 JSON.stringify exception-handling flaw enabling remote code execution
- Vendors
- GoogleDebian ProjectFedora Project
CVE-2021-38003 is an exception-handling vulnerability in the V8 JavaScript engine affecting Google Chrome before version 95.0.4638.69 and applications embedding vulnerable V8 builds. During JSON.stringify processing, an overflow path in JsonStringifier::SerializeArrayLikeSlow() can return EXCEPTION without setting a pending exception. Subsequent exception handling exposes V8's internal TheHole sentinel to JavaScript. Attackers can abuse this value to corrupt JavaScript Map state, obtain out-of-bounds memory access, and ultimately execute arbitrary code in the process hosting V8. The vulnerability has been exploited in Chrome, Dota 2 custom game modes, and an outdated Chromium component embedded in Sogou Input Method.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can compromise the confidentiality, integrity, and availability of the process hosting the vulnerable JavaScript engine through arbitrary memory access and code execution. In sandboxed Chrome configurations, execution is initially confined to the renderer; this vulnerability alone does not establish a sandbox escape or privilege escalation. In unsandboxed integrations, exploitation can execute code with the application's operating-system permissions. Observed attacks chained it with CVE-2021-1048 on Android to compromise privileged processes and used it in Sogou Input Method to deploy the GRAYRABBIT backdoor.
Mitigation
If you can’t patch tonight, do this now.
Restrict vulnerable embedded browser components to trusted destinations and prevent attacker-controlled navigation. Preserve browser sandboxing and web-security protections to limit exposure and post-exploitation impact; these controls do not fix the V8 flaw. For Sogou Input Method, install version 16.3.0.3498 or later to block the observed protocol-handler delivery chain, while treating the unchanged embedded engine as residual risk. Investigate unexpected application child processes and unusual outbound connections, and isolate systems suspected of compromise.
Remediation
Patch, then assume compromise.
Upgrade Google Chrome to version 95.0.4638.69 or later, preferably a current supported release. Applications embedding V8 or Chromium must update their bundled engine to a patched version; updating a separately installed browser does not repair an embedded engine. Google's initial fix checks that a pending exception exists before retrieving it, and subsequent hardening rejects TheHole as a Map deletion key. Valve addressed the vulnerable Dota 2 integration by upgrading V8. Sogou Input Method version 16.3.0.3498 restricts the navigation chain used to reach the exploit, but does not repair CVE-2021-38003 in its outdated embedded Chromium engine.
Exploits
2 exploits validated by Mallory's analysis.
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.
References
Frequently asked questions
- Is CVE-2021-38003 exploited in the wild?
- Yes. As of Nov 4, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Nov 3, 2021.
- Is there a public exploit for CVE-2021-38003?
- Yes. Mallory tracks 2 public exploits or proofs of concept for CVE-2021-38003, the earliest disclosed Jan 7, 2023.
- Is there a patch for CVE-2021-38003?
- Upgrade Google Chrome to version 95.0.4638.69 or later, preferably a current supported release. Applications embedding V8 or Chromium must update their bundled engine to a patched version; updating a separately installed browser does not repair an embedded engine.
- What products are affected by CVE-2021-38003?
- Google Chrome, Debian Project Debian Linux, and Fedora Project Fedora.
- How severe is CVE-2021-38003?
- CVE-2021-38003 has a CVSS v3.1 score of 8.8 (High) and an EPSS score of 37.8% (99th percentile) as of Nov 4, 2026.
Recent activity
20 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.