Live threats

All CVEs / Microsoft

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."

Source text, unmodified. NVD.

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.

Source text, unmodified. CISA KEV.

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.

  1. Apply the vendor's security update for MSCOMCTL.OCX.
  2. CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was May 3, 2022.
  3. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
  4. Check logs for signs of earlier exploitation.

Affected products (CPE)

VendorProductVersions
microsoftoffice2003
microsoftoffice2007
microsoftoffice2007
microsoftoffice2010
microsoftoffice2010
microsoftoffice_web_components2003
microsoftsql_server_2000all
microsoftsql_server_2005all
microsoftsql_server_2008all
microsoftsql_server_2008all
microsoftsql_server_2008r2
microsoftsql_server_2008r2
microsoftbiztalk_server2002
microsoftcommerce_server2002
microsoftcommerce_server2007
microsoftcommerce_server_2009all
microsoftcommerce_server_2009r2
microsoftvisual_basic6.0
microsoftvisual_foxpro8.0
microsoftvisual_foxpro9.0

Official sources

References

Links published by the sources. Open them with care.