Chrome V8 TheHole Leak Enabled Renderer RCE via CVE-2021-38003
Active Exploitation · 2 sources · Updated 5mo ago · First seen Apr 11, 2026

A flaw in Chrome's V8 JavaScript engine, tracked as CVE-2021-38003, exposed the internal TheHole value to attacker-controlled script code in Chromium-based browsers before 95.0.4638.69. The bug stemmed from exception handling in JSON.stringify(), where an overflow path in JsonStringifier::SerializeArrayLikeSlow() could return an exception state without setting pending_exception, allowing later exception handling to retrieve an uninitialized value and leak TheHole into JavaScript.
Researchers showed the leak could be turned into a full renderer compromise by abusing TheHole to corrupt a JavaScript Map's state, gain out-of-bounds access, and build addrof, heap read/write, and arbitrary write primitives. The exploit chain then disabled Chromium's wasm-memory-protection-keys mitigation, wrote shellcode into a WebAssembly RWX page, and executed it to achieve renderer remote code execution. Google patched the issue by preventing fetches of an empty pending_exception and later added hardening to block TheHole-based Map deletion abuse; the vulnerability had also been reported as exploited in the wild.


