CVE-2012-0158
CONFIRMED EXPLOITEDKNOWN RANSOMWARE CAMPAIGN USEMicrosoft MSCOMCTL.OCX Remote Code Execution Vulnerability
Is Microsoft MSCOMCTL.OCX affected by CVE-2012-0158?
Microsoft MSCOMCTL.OCX is listed in the CISA Known Exploited Vulnerabilities catalog for CVE-2012-0158, added on 2021-11-03. CISA only adds a CVE once it has evidence of exploitation in the wild, so the patching question is not whether it can be attacked but how soon your instances must be updated.
Affected products published by NIST NVD (20 vulnerable CPE entries): microsoft biztalk_server, microsoft commerce_server, microsoft commerce_server_2009, microsoft office, microsoft office_web_components and microsoft sql_server_2000 and 4 further CPE product entries.
Published CPE data pins the vulnerable releases as 6.0, 8.0, 9.0, 2002, 2003, 2007, 2010 and r2. Check the vendor advisory below for the fixed release and for any other affected build.
The CISA remediation deadline for this entry is 2022-05-03, and CISA records known ransomware campaign use against it.
RELATED VULNERABILITY DOSSIERS
Other catalog entries that share this product, vendor, or weakness, or that sit next to this advisory in the CISA KEV timeline.
- CVE-2026-124194Same vendorMicrosoft Office
Microsoft Office Outlook Missing User Interaction for Potentially Unsafe Action Vulnerability
- CVE-2026-96951Same vendorMicrosoft Windows
Microsoft Windows Command Injection Vulnerability
- CVE-2026-65660Same vendorMicrosoft SharePoint
Microsoft SharePoint Code Injection Vulnerability
- CVE-2026-85880Same vendorMicrosoft Windows
Microsoft Windows Heap-Based Buffer Overflow Vulnerability
- CVE-2010-5326Neighboring entrySAP NetWeaver
SAP NetWeaver Remote Code Execution Vulnerability
- CVE-2012-3152Neighboring entryOracle Fusion Middleware
Oracle Fusion Middleware Unspecified Vulnerability
1. VULNERABILITY OVERVIEW & TECHNICAL MECHANISM
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.
Get Stack Watch email when a KEV hits your stack ($99/year or $12/month)
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."
2. AFFECTED VERSIONS, PRODUCTS & VERIFIED CPE CONFIGURATIONS
3. EXPLOITATION EVIDENCE, IMPACT & HOW TO DETECT IT
This vulnerability was added to the CISA Known Exploited Vulnerabilities (KEV) catalog on 2021-11-03. Inclusion in KEV requires verified evidence of active exploitation in the wild. Known ransomware campaign use is recorded by CISA as: "Known".
Note: KEV inclusion confirms that threat actors have exploited this flaw in real-world incidents; it does not imply every deployment of MSCOMCTL.OCX has been compromised.
- CVSS vector indicates high impact to Confidentiality (C:H), Integrity (I:H), and Availability (A:H) of the affected component.
- Client / parser surface (Microsoft MSCOMCTL.OCX): exploitation typically involves rendering crafted web content, documents, or media. Monitor endpoint EDR / process trees for sandbox escapes, unexpected child processes spawned by client applications, and anomalous outbound connections (`Zeek dns.log`, `conn.log`).
- Inventory all hosts running Microsoft MSCOMCTL.OCX and compare installed package/build versions against the NVD CPE configurations and vendor advisory below.
4. FIXED VERSION, MITIGATIONS & OFFICIAL ADVISORY CITATIONS
Apply updates per vendor instructions.
- http://opensources.info/comment-on-the-curious-case-of-a-cve-2012-0158-exploit-by-chris-pierce/Broken Link
- http://www.securityfocus.com/bid/52911Broken LinkThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id?1026899Broken LinkThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id?1026900Broken LinkThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id?1026902Broken LinkThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id?1026903Broken LinkThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id?1026904Broken LinkThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id?1026905Broken LinkThird Party AdvisoryVDB Entry
- http://www.us-cert.gov/cas/techalerts/TA12-101A.htmlThird Party AdvisoryUS Government Resource
- https://docs.microsoft.com/en-us/security-updates/securitybulletins/2012/ms12-027PatchVendor Advisory
- https://exchange.xforce.ibmcloud.com/vulnerabilities/74372Third Party AdvisoryVDB Entry
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A15462Broken Link
- http://opensources.info/comment-on-the-curious-case-of-a-cve-2012-0158-exploit-by-chris-pierce/Broken Link
- http://www.securityfocus.com/bid/52911Broken LinkThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id?1026899Broken LinkThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id?1026900Broken LinkThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id?1026902Broken LinkThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id?1026903Broken LinkThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id?1026904Broken LinkThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id?1026905Broken LinkThird Party AdvisoryVDB Entry
- http://www.us-cert.gov/cas/techalerts/TA12-101A.htmlThird Party AdvisoryUS Government Resource
- https://docs.microsoft.com/en-us/security-updates/securitybulletins/2012/ms12-027PatchVendor Advisory
- https://exchange.xforce.ibmcloud.com/vulnerabilities/74372Third Party AdvisoryVDB Entry
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A15462Broken Link
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2012-0158US Government Resource
SCORING & VECTOR TELEMETRY
Primary assessment authored by NIST NVD (nvd@nist.gov).
EPSS estimates the statistical probability of exploitation activity in the next 30 days—it is not proof of confirmed exploitation.
RELEVANT DEFENSIVE TOOLS
Curated open-source defensive and verification utilities from The Loot applicable to this asset class:
Rust-powered Windows Event Log (EVTX) fast forensics timeline generator & Sigma engine
Endpoint visibility, digital forensics, and incident response (DFIR) platform
Open-source XDR and SIEM platform for endpoint and cloud security monitoring
VirusTotal's memory-safe Rust rewrite of YARA for binary & implant hunting