CVE-2012-0158Microsoft MSCOMCTL.OCX
Remote Code Execution in Microsoft MSCOMCTL.OCX
High 8.8 KEVRansomware No auth neededHigh EPSS
- Priority
- 93
- CVSS 3.1
- 8.8
- EPSS
- 100.0% probability of exploitation in 30 days · percentile 100
- Auth required
- No
- In KEV since
- Nov 3, 2021
- CISA deadline
- May 3, 2022
- Ransomware use
- Confirmed
- Published
- Apr 10, 2012
- Updated
- Jun 16, 2026
- Category
- Application · Windows
- Weakness (CWE)
- CWE-94
- SSVC (CISA)
- Exploitation: active · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
What happens
ActiveX controls ListView, TreeView and similar in Microsoft MSCOMCTL.OCX across Office, SQL Server and other products allow remote attackers to execute arbitrary code without authentication via malicious websites, Office documents or RTF files. CISA confirmed active exploitation in the wild.
AI-generated summary (Claude) based on NVD and CISA data. Not reviewed yet: check the details in the vendor advisory.
Show the original NVD text
The (1) ListView, (2) ListView2, (3) TreeView, and (4) TreeView2 ActiveX controls in MSCOMCTL.OCX in the Common Controls in Microsoft Office 2003 SP3, 2007 SP2 and SP3, and 2010 Gold and SP1; Office 2003 Web Components SP3; SQL Server 2000 SP4, 2005 SP4, and 2008 SP2, SP3, and R2; BizTalk Server 2002 SP1; Commerce Server 2002 SP4, 2007 SP2, and 2009 Gold and R2; Visual FoxPro 8.0 SP1 and 9.0 SP2; and Visual Basic 6.0 Runtime allow remote attackers to execute arbitrary code via a crafted (a) web site, (b) Office document, or (c) .rtf file that triggers "system state" corruption, as exploited in the wild in April 2012, aka "MSCOMCTL.OCX RCE Vulnerability."
Exploitation confirmed by CISA
Microsoft MSCOMCTL.OCX contains an unspecified vulnerability that allows for remote code execution, allowing an attacker to take complete control of an affected system under the context of the current user.
Action required by CISA: Apply updates per vendor instructions.
What to do
Patch available
Apply Microsoft security updates per bulletin MS12-027 for your version of Office, SQL Server or other affected product.
Vendor advisory · docs.microsoft.com ↗
AI-generated from public data; not reviewed.
- Apply the vendor's security update for MSCOMCTL.OCX.
- CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was May 3, 2022.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
- Check logs for signs of earlier exploitation.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| microsoft | office | 2003 |
| microsoft | office | 2007 |
| microsoft | office | 2007 |
| microsoft | office | 2010 |
| microsoft | office | 2010 |
| microsoft | office_web_components | 2003 |
| microsoft | sql_server_2000 | all |
| microsoft | sql_server_2005 | all |
| microsoft | sql_server_2008 | all |
| microsoft | sql_server_2008 | all |
| microsoft | sql_server_2008 | r2 |
| microsoft | sql_server_2008 | r2 |
| microsoft | biztalk_server | 2002 |
| microsoft | commerce_server | 2002 |
| microsoft | commerce_server | 2007 |
| microsoft | commerce_server_2009 | all |
| microsoft | commerce_server_2009 | r2 |
| microsoft | visual_basic | 6.0 |
| microsoft | visual_foxpro | 8.0 |
| microsoft | visual_foxpro | 9.0 |
Official sources
References
Links published by the sources. Open them with care.
- opensources.info Broken Link
- www.securityfocus.com Broken Link Third Party Advisory VDB Entry
- www.securitytracker.com Broken Link Third Party Advisory VDB Entry
- www.securitytracker.com Broken Link Third Party Advisory VDB Entry
- www.securitytracker.com Broken Link Third Party Advisory VDB Entry
- www.securitytracker.com Broken Link Third Party Advisory VDB Entry
- www.securitytracker.com Broken Link Third Party Advisory VDB Entry
- www.securitytracker.com Broken Link Third Party Advisory VDB Entry
- www.us-cert.gov Third Party Advisory US Government Resource
- docs.microsoft.com Patch Vendor Advisory
- exchange.xforce.ibmcloud.com Third Party Advisory VDB Entry
- oval.cisecurity.org Broken Link
- www.cisa.gov US Government Resource