CVE-2012-0158
HIGH 8.8CVSS 3.1known exploitedransomwareMicrosoft 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; 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."
- Published
- 10 Apr 2012
- Last modified
- 16 Jun 2026
- Assigned by
- secure@microsoft.com
- NVD status
- Analyzed
- Weakness
- CWE-94
- Sources
- NVDJSONCISA KEVJSON
In CISA's Known Exploited Vulnerabilities catalog since 3 Nov 2021; US federal agencies must fix it by 3 May 2022.
Apply updates per vendor instructions.
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 9.3 | AV:N/AC:M/Au:N/C:C/I:C/A:C |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | microsoft | officecpe:2.3:a:microsoft:office:2003:sp3:*:*:*:*:*:* |
= 2003 | |
| NVD | microsoft | officecpe:2.3:a:microsoft:office:2007:sp2:*:*:*:*:*:* |
= 2007 | |
| NVD | microsoft | officecpe:2.3:a:microsoft:office:2007:sp3:*:*:*:*:*:* |
= 2007 | |
| NVD | microsoft | officecpe:2.3:a:microsoft:office:2010:-:*:*:*:*:x86:* |
= 2010 | |
| NVD | microsoft | officecpe:2.3:a:microsoft:office:2010:sp1:*:*:*:*:x86:* |
= 2010 | |
| NVD | microsoft | office_web_componentscpe:2.3:a:microsoft:office_web_components:2003:sp3:*:*:*:*:*:* |
= 2003 | |
| NVD | microsoft | sql_server_2000cpe:2.3:a:microsoft:sql_server_2000:-:sp4:*:*:*:*:*:* |
(no version) | |
| NVD | microsoft | sql_server_2005cpe:2.3:a:microsoft:sql_server_2005:-:sp4:*:*:*:*:*:* |
(no version) | |
| NVD | microsoft | sql_server_2008cpe:2.3:a:microsoft:sql_server_2008:-:sp2:*:*:*:*:*:* |
(no version) | |
| NVD | microsoft | sql_server_2008cpe:2.3:a:microsoft:sql_server_2008:-:sp3:*:*:*:*:*:* |
(no version) | |
| NVD | microsoft | sql_server_2008cpe:2.3:a:microsoft:sql_server_2008:r2:-:*:*:*:*:*:* |
= r2 | |
| NVD | microsoft | sql_server_2008cpe:2.3:a:microsoft:sql_server_2008:r2:sp1:*:*:*:*:*:* |
= r2 | |
| NVD | microsoft | biztalk_servercpe:2.3:a:microsoft:biztalk_server:2002:sp1:*:*:*:*:*:* |
= 2002 | |
| NVD | microsoft | commerce_servercpe:2.3:a:microsoft:commerce_server:2002:sp4:*:*:*:*:*:* |
= 2002 | |
| NVD | microsoft | commerce_servercpe:2.3:a:microsoft:commerce_server:2007:sp2:*:*:*:*:*:* |
= 2007 | |
| NVD | microsoft | commerce_server_2009cpe:2.3:a:microsoft:commerce_server_2009:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | microsoft | commerce_server_2009cpe:2.3:a:microsoft:commerce_server_2009:r2:*:*:*:*:*:*:* |
= r2 | |
| NVD | microsoft | visual_basiccpe:2.3:a:microsoft:visual_basic:6.0:*:*:*:*:*:*:* |
= 6.0 | |
| NVD | microsoft | visual_foxprocpe:2.3:a:microsoft:visual_foxpro:8.0:sp1:*:*:*:*:*:* |
= 8.0 | |
| NVD | microsoft | visual_foxprocpe:2.3:a:microsoft:visual_foxpro:9.0:sp2:*:*:*:*:*:* |
= 9.0 |
References
- http://opensources.info/comment-on-the-curious-case-of-a-cve-2012-0158-exploit-by-chris-pierce/ · Broken Link
- http://www.securityfocus.com/bid/52911 · Broken Link, Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id?1026899 · Broken Link, Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id?1026900 · Broken Link, Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id?1026902 · Broken Link, Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id?1026903 · Broken Link, Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id?1026904 · Broken Link, Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id?1026905 · Broken Link, Third Party Advisory, VDB Entry
- http://www.us-cert.gov/cas/techalerts/TA12-101A.html · Third Party Advisory, US Government Resource
- https://docs.microsoft.com/en-us/security-updates/securitybulletins/2012/ms12-027 · Patch, Vendor Advisory
- https://exchange.xforce.ibmcloud.com/vulnerabilities/74372 · Third Party Advisory, VDB Entry
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A15462 · Broken Link
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2012-0158 · US Government Resource
- https://nvd.nist.gov/vuln/detail/CVE-2012-0158
History
- 25 Nov 2026 20:16 UTC · NVD: first stored (published 10 Apr 2012)
- 25 Nov 2026 20:10 UTC · CISA KEV: first stored (published 3 Nov 2021)
- 3 Nov 2021 00:00 UTC · Listed as known exploited