CVE-2012-0158

Summary

CVECVE-2012-0158
StatePUBLISHED
Assignermicrosoft
Source PriorityCVE Program / NVD first with legacy fallback
Published2012-04-10 21:55:01 UTC
Updated2026-04-22 10:36:10 UTC
DescriptionThe (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."

Risk And Classification

Primary CVSS: v3.1 8.8 HIGH from [email protected]

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

EPSS: 0.942840000 probability, percentile 0.999390000 (date 2026-04-22)

CISA KEV: Listed on 2021-11-03; due 2022-05-03; ransomware use Unknown

Problem Types: CWE-94 | n/a | CWE-94 CWE-94 Improper Control of Generation of Code ('Code Injection')


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary8.8HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
3.1ADPDECLARED8.8HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
3.1134c704f-9b21-4f2e-91b3-4a467353bcc0Secondary8.8HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
2.0[email protected]Primary9.3AV:N/AC:M/Au:N/C:C/I:C/A:C

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Medium
Authentication
None
Confidentiality
Complete
Integrity
Complete
Availability
Complete

AV:N/AC:M/Au:N/C:C/I:C/A:C

CISA Known Exploited Vulnerability

VendorMicrosoft
ProductMSCOMCTL.OCX
NameMicrosoft MSCOMCTL.OCX Remote Code Execution Vulnerability
Required ActionApply updates per vendor instructions.
Noteshttps://nvd.nist.gov/vuln/detail/CVE-2012-0158

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Microsoft Biztalk Server 2002 sp1 All All
Application Microsoft Commerce Server 2002 sp4 All All
Application Microsoft Commerce Server 2007 sp2 All All
Application Microsoft Commerce Server 2009 - All All All
Application Microsoft Commerce Server 2009 r2 All All All
Application Microsoft Office 2003 sp3 All All
Application Microsoft Office 2007 sp2 All All
Application Microsoft Office 2007 sp3 All All
Application Microsoft Office 2010 - All All
Application Microsoft Office 2010 sp1 All All
Application Microsoft Office Web Components 2003 sp3 All All
Application Microsoft Sql Server 2000 - sp4 All All
Application Microsoft Sql Server 2005 - sp4 All All
Application Microsoft Sql Server 2008 - sp2 All All
Application Microsoft Sql Server 2008 - sp3 All All
Application Microsoft Sql Server 2008 r2 - All All
Application Microsoft Sql Server 2008 r2 sp1 All All
Application Microsoft Visual Basic 6.0 All All All
Application Microsoft Visual Foxpro 8.0 sp1 All All
Application Microsoft Visual Foxpro 9.0 sp2 All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
Microsoft Visual Basic Windows Common Controls (MSCOMCTL.OCX) Bug Lets Remote Users Execute Arbitrary Code - SecurityTracker af854a3a-2127-422b-91ae-364da2661108 www.securitytracker.com Broken Link, Third Party Advisory, VDB Entry
www.cisa.gov/known-exploited-vulnerabilities-catalog 134c704f-9b21-4f2e-91b3-4a467353bcc0 www.cisa.gov US Government Resource
US-CERT Alert TA12-101A -- Microsoft Updates for Multiple Vulnerabilities af854a3a-2127-422b-91ae-364da2661108 www.us-cert.gov Third Party Advisory, US Government Resource
Microsoft SQL Server Windows Common Controls (MSCOMCTL.OCX) Bug Lets Remote Users Execute Arbitrary Code - SecurityTracker af854a3a-2127-422b-91ae-364da2661108 www.securitytracker.com Broken Link, Third Party Advisory, VDB Entry
IBM X-Force Exchange af854a3a-2127-422b-91ae-364da2661108 exchange.xforce.ibmcloud.com Third Party Advisory, VDB Entry
Microsoft Windows Common Controls ActiveX Control Remote Code Execution Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com Broken Link, Third Party Advisory, VDB Entry
Microsoft BizTalk Server Windows Common Controls (MSCOMCTL.OCX) Bug Lets Remote Users Execute Arbitrary Code - SecurityTracker af854a3a-2127-422b-91ae-364da2661108 www.securitytracker.com Broken Link, Third Party Advisory, VDB Entry
Repository / Oval Repository af854a3a-2127-422b-91ae-364da2661108 oval.cisecurity.org Broken Link
Microsoft Security Bulletin MS12-027 - Critical | Microsoft Docs af854a3a-2127-422b-91ae-364da2661108 docs.microsoft.com Patch, Vendor Advisory
Microsoft Office Windows Common Controls (MSCOMCTL.OCX) Bug Lets Remote Users Execute Arbitrary Code - SecurityTracker af854a3a-2127-422b-91ae-364da2661108 www.securitytracker.com Broken Link, Third Party Advisory, VDB Entry
Comment on The curious case of a CVE-2012-0158 exploit by Chris Pierce | OSINT af854a3a-2127-422b-91ae-364da2661108 opensources.info Broken Link
Microsoft Commerce Server Windows Common Controls (MSCOMCTL.OCX) Bug Lets Remote Users Execute Arbitrary Code - SecurityTracker af854a3a-2127-422b-91ae-364da2661108 www.securitytracker.com Broken Link, Third Party Advisory, VDB Entry
Microsoft Visual FoxPro Windows Common Controls (MSCOMCTL.OCX) Bug Lets Remote Users Execute Arbitrary Code - SecurityTracker af854a3a-2127-422b-91ae-364da2661108 www.securitytracker.com Broken Link, Third Party Advisory, VDB Entry
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
CISA Known Exploited Vulnerabilities catalog CISA www.cisa.gov kev

Additional Advisory Data

SourceTimeEvent
ADP2021-11-03T00:00:00.000ZCVE-2012-0158 added to CISA KEV
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report