# CVE-2012-0158

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

- Page: https://www.vulneraibility.com/cve/CVE-2012-0158
- CVSS: 8.8
- Known exploited: yes, in CISA KEV since 2021-11-03; CISA due date 2022-05-03; known ransomware use
- EPSS: 99.98% (percentile 100.0)
- Public exploit code: 1 on Exploit-DB · 1 Metasploit module · 2 GitHub proofs of concept (first 2012-04-25)
- CISA SSVC: exploitation active, automatable no, technical impact total (assessed 2025-02-10)
- Weakness: CWE-94
- Published: 2012-04-10

## Affected

- microsoft:office
- microsoft:office_web_components
- microsoft:sql_server_2000
- microsoft:sql_server_2005
- microsoft:sql_server_2008
- microsoft:biztalk_server
- microsoft:commerce_server
- microsoft:commerce_server_2009
- microsoft:visual_basic
- microsoft:visual_foxpro

## References

- [other] http://www.securitytracker.com/id?1026902
- [other] http://www.securitytracker.com/id?1026899
- [advisory] http://www.us-cert.gov/cas/techalerts/TA12-101A.html
- [other] http://www.securitytracker.com/id?1026904
- [other] http://www.securitytracker.com/id?1026903
- [other] http://www.securitytracker.com/id?1026905
- [other] http://opensources.info/comment-on-the-curious-case-of-a-cve-2012-0158-exploit-by-chris-pierce/
- [advisory] https://docs.microsoft.com/en-us/security-updates/securitybulletins/2012/ms12-027
- [other] https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A15462
- [other] http://www.securityfocus.com/bid/52911
- [other] https://exchange.xforce.ibmcloud.com/vulnerabilities/74372
- [other] http://www.securitytracker.com/id?1026900
- [other] https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2012-0158

---
Summary, impact and action are written by the vulneraibility.com AI analysis pipeline from the CVE record, NVD, CISA and FIRST data; verify against the references.
