CVE-2012-0158: Microsoft MSCOMCTL.OCX Remote Code Execution Vulnerability
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;
Published Apr 10, 2012 · Updated Jun 16, 2026
Required action
Apply updates per vendor instructions.
Advisory details
From the National Vulnerability Database. This product uses the NVD API but is not endorsed or certified by the NVD.
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."
References
- https://docs.microsoft.com/en-us/security-updates/securitybulletins/2012/ms12-027
- https://exchange.xforce.ibmcloud.com/vulnerabilities/74372
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A15462
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2012-0158
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Microsoft vulnerabilities
All Microsoft entriesCVE-2026-96951
Microsoft Windows Command Injection Vulnerability
high8.8ExploitedOct 13, 2026CVE-2026-81963
Microsoft Windows Link Following Vulnerability
high7.8ExploitedSep 8, 2026CVE-2026-85880
Microsoft Windows Heap-Based Buffer Overflow Vulnerability
high7.8ExploitedSep 8, 2026CVE-2026-65660
Microsoft SharePoint Code Injection Vulnerability
high8.8ExploitedAug 11, 2026CVE-2026-68820
Microsoft Windows Ancillary Function Driver for WinSock Use-After-Free Vulnerability
high7.0ExploitedAug 11, 2026CVE-2026-50522
Microsoft SharePoint Deserialization of Untrusted Data Vulnerability
critical9.8ExploitedJul 14, 2026
