# CVE-2012-0158: Microsoft MSCOMCTL.OCX Remote Code Execution Vulnerability

Source: https://junglewise.ai/threats/cve-2012-0158-microsoft-mscomctl-ocx-remote-code-execution-vulnerability  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2021-11-03. Updated: 2026-05-10  
License: CC BY 4.0 with a link back

CVE-2012-0158 · Severity: critical · CVSS 9.3 · Exploited in the wild · Published 2021-11-03

The ListView, TreeView, and other ActiveX controls in MSCOMCTL.OCX contain a vulnerability that allows remote code execution via crafted websites, Office documents, or RTF files. Successful exploitation triggers system state corruption, allowing an attacker to take complete control of the affected system.

Vendors: [Microsoft](https://junglewise.ai/threats/vendors/microsoft).

## Quick answers

**Is CVE-2012-0158 exploited in the wild?** Yes. CVE-2012-0158 is known to be exploited in the wild, first recorded on 3 November 2021. Treat it as urgent.

**How severe is CVE-2012-0158?** Critical severity, with a CVSS score of 9.3, published 3 November 2021.

**Which products and versions are affected?** Microsoft Office 2003 SP3, 2007 SP2/SP3, 2010 Gold/SP1; Microsoft Office 2003 Web Components SP3; Microsoft SQL Server 2000 SP4, 2005 SP4, 2008 SP2/SP3/R2; Microsoft BizTalk Server 2002 SP1; and 3 more.

**Is there a fix for CVE-2012-0158?** A patch was published on 2012-04-10: Microsoft released security bulletin MS12-027. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2012-0158 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2012-0158?** Check whether you run Microsoft Mscomctl.Ocx. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Affected products

- Microsoft Office 2003 SP3, 2007 SP2/SP3, 2010 Gold/SP1
- Microsoft Office 2003 Web Components SP3
- Microsoft SQL Server 2000 SP4, 2005 SP4, 2008 SP2/SP3/R2
- Microsoft BizTalk Server 2002 SP1
- Microsoft Commerce Server 2002 SP4, 2007 SP2, 2009 Gold/R2
- Microsoft Visual FoxPro 8.0 SP1, 9.0 SP2
- Microsoft Visual Basic 6.0 Runtime

## Timeline

- 2012-04: exploited: Exploited in the wild in April 2012.
- 2012-04-10: patched: Microsoft released security bulletin MS12-027.
- 2021-11-03: kev added: Added to CISA Known Exploited Vulnerabilities Catalog.
