Skip to main content
Mallory
HighExploited in the wildCISA KEVPublic exploitVulnerability

CVE-2016-0189: Microsoft Internet Explorer Scripting Engine Memory Corruption

Published May 11, 2016 · Updated 11 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days1 mention · peak 1 in a dayToday
CVSS7.5High · v3.1
EPSS94.1%100th percentile
CISA KEVYesAdded Mar 28, 2022
In the wildActivePer CISA KEV
Vendor
Microsoft Corporation
IdentifiersCVE-2016-0189CWE-119

CVE-2016-0189 is a memory corruption vulnerability affecting Microsoft JScript 5.8 and VBScript 5.7 and 5.8, used by Internet Explorer 9 through 11 and other products. In the analyzed VBScript implementation, AccessArray fails to lock a SafeArray before processing an indexed access. Index conversion can invoke an attacker-controlled JavaScript valueOf method, allowing reentrant script execution to resize the array and invalidate the bounds assumptions for the access. This enables out-of-bounds reads and writes that can be developed into arbitrary memory access. Exploits can modify COleScript safety settings to enable otherwise restricted scripting operations. A crafted website can trigger arbitrary code execution or denial of service. The vulnerability has been exploited in targeted attacks and exploit-kit campaigns.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

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 confidentiality, integrity, and availability through arbitrary code execution or a browser crash. Attackers have used the vulnerability to execute PowerShell and deliver ransomware, information stealers, and backdoors. Resulting access depends on the affected process's privileges and security boundaries: Internet Explorer Protected Mode can still restrict process execution, and unrestricted execution outside that boundary may require an additional sandbox-escape technique. The vulnerability does not independently establish administrative privileges.

Mitigation

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

Prevent untrusted content from executing in vulnerable Internet Explorer and embedded scripting-engine contexts. Where operationally feasible, disable active scripting, including VBScript and JScript, in those contexts. Browser-only VBScript restrictions are insufficient if Office documents or other applications can instantiate an embedded Internet Explorer engine that still permits execution. Retain Protected Mode and least-privilege user accounts to constrain consequences, but do not treat them as substitutes for patching. Exploit-prevention endpoint controls can provide additional protection against known exploitation techniques.

Remediation

Patch, then assume compromise.

Apply the Microsoft security updates addressing CVE-2016-0189 through MS16-051 and MS16-053, as applicable to the installed Windows, Internet Explorer, and scripting-engine versions. Microsoft released fixes in May 2016. Ensure affected scripting components are updated even where applications other than Internet Explorer host them. The analyzed VBScript fix adds SafeArray locking around AccessArray operations, including appropriate unlocking on error paths.

Public exploits

Exploits

4 exploits validated by Mallory's analysis. Hidden: 1 not yet analyzed, such as Exploit-DB entries.

View more in app →
ms16_051_vbscript.rbThis repository contains a single Metasploit module (ms16_051_vbscript.rb) that exploits CVE-2016-0189, a memory corruption vulnerability in the VBScript engine of Internet Explorer 11 on Windows. The exploit is delivered via a malicious HTTP server (using Metasploit's HttpServer mixin), which serves specially crafted HTML and VBScript to the victim's browser. The exploit leverages the vulnerability to achieve arbitrary code execution, allowing the attacker to deliver and execute a payload (such as a reverse shell) on the victim's system. The module supports automatic targeting and is weaponized, allowing the attacker to easily configure and deliver custom payloads. The exploit interacts with temporary file paths on the victim and delivers DLLs and executables as part of the exploitation process. The main attack vector is a browser-based drive-by attack, requiring the victim to visit the attacker's server with a vulnerable version of Internet Explorer.Disclosed May 10, 2016 · Framework: metasploit · ruby · browser · networkWeaponizedcve-2016-0189This repository is a proof-of-concept exploit for CVE-2016-0189, a VBScript memory corruption vulnerability in Internet Explorer 11 on Windows 10. The exploit consists of two main HTML files (vbscript_bypass_pm.html and vbscript_godmode.html) that use a combination of VBScript and JavaScript to trigger the vulnerability, perform heap spraying, and manipulate memory structures to achieve arbitrary code execution. The exploit downloads and loads two malicious DLLs (ieshell32.dll and ielocalserver.dll), which are provided as C++ source files in the support directory. The ieshell32.dll is used to manipulate environment variables and load further payloads, while ielocalserver.dll sets up a local HTTP server to serve the second stage of the exploit. The final payload launches a command shell (cmd.exe) on the victim's machine. The exploit bypasses IE's Protected Mode, escalating privileges from low to medium integrity. The repository is structured with clear separation between exploit scripts and supporting DLLs, and includes a README with usage instructions. The attack vector is browser-based, requiring the victim to visit a malicious web page with IE11. Several fingerprintable endpoints are present, including hardcoded HTTP URLs and file paths used for payload delivery and execution.theori-io · Disclosed Jun 22, 2016 · vbscript · javascript · browserOperationalMS16-051-pocThis repository is a proof-of-concept exploit for CVE-2016-0189, a VBScript memory corruption vulnerability in Internet Explorer 11 on Windows 10. The exploit consists of two main HTML files (vbscript_bypass_pm.html and vbscript_godmode.html) that use a combination of VBScript and JavaScript to trigger a use-after-free vulnerability, gain code execution, and bypass IE's Protected Mode. The exploit downloads and loads two malicious DLLs (ieshell32.dll and ielocalserver.dll), which are provided as C++ source files in the support directory. The DLLs are used to manipulate environment variables and serve the second stage of the exploit via a local HTTP server. The final payload is the execution of cmd.exe on the victim's machine, demonstrating arbitrary code execution. The exploit requires the victim to browse to the malicious HTML file using IE11, and the attacker must serve the exploit files and DLLs via a web server. The repository is well-structured, with clear separation between exploit scripts and supporting DLL code.deamwork · Disclosed Jun 25, 2016 · vbscript · javascript · browserOperationalcve-2016-0189Repository is a compact proof-of-concept exploit for CVE-2016-0189, a VBScript memory corruption vulnerability in Internet Explorer 11 on Windows 10. It contains two exploit HTML files and two supporting C++ DLL source files. The main entry point is exploit/vbscript_bypass_pm.html, which combines VBScript heap/array corruption primitives with JavaScript helpers. The VBScript code builds exploitation primitives to obtain object addresses, leak memory, and overwrite the COleScript SafetyOption field at offset 0x174, effectively disabling VBScript safety restrictions ('god mode'). The first-stage HTML then downloads three attacker-controlled files from a hardcoded HTTP server at 172.16.100.1:8889: ieshell32.dll, ielocalserver.dll, and vbscript_godmode.html. It searches IE's low-integrity cache directories for those downloaded files, moves them into temporary locations, sets environment variables, creates a fake %SystemRoot% tree containing a malicious shell32.dll, and instantiates Shell.Application. That causes the fake shell32 DLL to load. support/ieshell32.cpp is a DLL hijack helper: on load, it restores the original SystemRoot, reads MyDllPath from the environment, and loads the second DLL (ielocalserver.dll) with altered search path semantics. support/ielocalserver.cpp implements a simple HTTP server bound to 127.0.0.1:5555 that serves the staged vbscript_godmode.html file whose path is passed via the stage2file environment variable. After staging, the first HTML redirects the browser to http://localhost:5555/vbscript_godmode.html. The second-stage HTML repeats the VBScript memory corruption technique to disable safety restrictions and then directly executes cmd via Shell.Application.ShellExecute. Overall, the repository demonstrates browser-based remote code execution in IE11 plus a localhost/Protected Mode bypass chain using staged DLL loading and a local HTTP server. It is a real exploit PoC, not merely a detector, and includes a basic but functional payload.Theori-lO · Disclosed Apr 29, 2026 · html · vbscript · browser · web · localOperational
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
Microsoft CorporationInternet Explorerapplication
Microsoft CorporationJscriptapplication
Microsoft CorporationVbscriptapplication
FAQ

Frequently asked questions

Is CVE-2016-0189 exploited in the wild?
Yes. As of Nov 7, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Mar 28, 2022.
Is there a public exploit for CVE-2016-0189?
Yes. Mallory tracks 4 public exploits or proofs of concept for CVE-2016-0189, the earliest disclosed May 10, 2016.
Is there a patch for CVE-2016-0189?
Apply the Microsoft security updates addressing CVE-2016-0189 through MS16-051 and MS16-053, as applicable to the installed Windows, Internet Explorer, and scripting-engine versions. Microsoft released fixes in May 2016.
What products are affected by CVE-2016-0189?
Microsoft Corporation Internet Explorer, Microsoft Corporation Jscript, and Microsoft Corporation Vbscript.
How severe is CVE-2016-0189?
CVE-2016-0189 has a CVSS v3.1 score of 7.5 (High) and an EPSS score of 94.1% (100th percentile) as of Nov 7, 2026.
Mallory platform

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, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidence4Every report linking this CVE to a named adversary.
Associated malware15Malware families linked to this CVE, with evidence and IOCs.
Detection signatures16YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity4Community discussion across Reddit, Mastodon, and other social sources.