CVE-2012-0158
CVE-2012-0158 is a high-severity vulnerability in Microsoft Office with a CVSS 3.x base score of 8.8. It is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, confirming it has been exploited in the wild (added 2021-11-03). The underlying weakness is classified as CWE-94.
Key facts
- Severity: High (CVSS 3.x base score 8.8)
- CVSS v2: 9.3
- EPSS exploit prediction: 100% (100th percentile)
- Actively exploited: Yes — listed in CISA KEV (added 2021-11-03)
- EU (EUVD) id: EUVD-2012-0196
- EU exploitation: Flagged exploited in the ENISA EU Vulnerability Database (since 2021-11-03)
- Weakness: CWE-94
- Affected product: Microsoft Office
- Published:
- Last modified:
Description
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."
Frequently asked questions
- What is 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."
- How severe is CVE-2012-0158?
- CVE-2012-0158 has a CVSS 3.x base score of 8.8, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2012-0158 being actively exploited?
- Yes. CVE-2012-0158 is on CISA's Known Exploited Vulnerabilities (KEV) catalog, added on 2021-11-03, which means active exploitation has been confirmed. It should be prioritised for remediation.
- What products are affected by CVE-2012-0158?
- CVE-2012-0158 primarily affects Microsoft Office. In total, 20 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2012-0158?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Because this CVE is known to be actively exploited, treat remediation as urgent — CISA KEV typically sets a short remediation deadline.
- Does CVE-2012-0158 have an EU (EUVD) identifier?
- Yes. CVE-2012-0158 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2012-0196. It is also flagged as exploited in the EUVD (since 2021-11-03).
- When was CVE-2012-0158 published?
- CVE-2012-0158 was published on 2012-04-10 and last updated on 2026-06-16.
References
- http://opensources.info/comment-on-the-curious-case-of-a-cve-2012-0158-exploit-by-chris-pierce/
- http://www.securityfocus.com/bid/52911
- http://www.securitytracker.com/id?1026899
- http://www.securitytracker.com/id?1026900
- http://www.securitytracker.com/id?1026902
- http://www.securitytracker.com/id?1026903
- http://www.securitytracker.com/id?1026904
- http://www.securitytracker.com/id?1026905
- http://www.us-cert.gov/cas/techalerts/TA12-101A.html
- 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
Affected products (20)
- cpe:2.3:a:microsoft:office:2003:sp3:*:*:*:*:*:*
- cpe:2.3:a:microsoft:office:2007:sp2:*:*:*:*:*:*
- cpe:2.3:a:microsoft:office:2007:sp3:*:*:*:*:*:*
- cpe:2.3:a:microsoft:office:2010:-:*:*:*:*:x86:*
- cpe:2.3:a:microsoft:office:2010:sp1:*:*:*:*:x86:*
- cpe:2.3:a:microsoft:office_web_components:2003:sp3:*:*:*:*:*:*
- cpe:2.3:a:microsoft:sql_server_2000:-:sp4:*:*:*:*:*:*
- cpe:2.3:a:microsoft:sql_server_2005:-:sp4:*:*:*:*:*:*
- cpe:2.3:a:microsoft:sql_server_2008:-:sp2:*:*:*:*:*:*
- cpe:2.3:a:microsoft:sql_server_2008:-:sp3:*:*:*:*:*:*
- cpe:2.3:a:microsoft:sql_server_2008:r2:-:*:*:*:*:*:*
- cpe:2.3:a:microsoft:sql_server_2008:r2:sp1:*:*:*:*:*:*
- cpe:2.3:a:microsoft:biztalk_server:2002:sp1:*:*:*:*:*:*
- cpe:2.3:a:microsoft:commerce_server:2002:sp4:*:*:*:*:*:*
- cpe:2.3:a:microsoft:commerce_server:2007:sp2:*:*:*:*:*:*
- cpe:2.3:a:microsoft:commerce_server_2009:-:*:*:*:*:*:*:*
- cpe:2.3:a:microsoft:commerce_server_2009:r2:*:*:*:*:*:*:*
- cpe:2.3:a:microsoft:visual_basic:6.0:*:*:*:*:*:*:*
- cpe:2.3:a:microsoft:visual_foxpro:8.0:sp1:*:*:*:*:*:*
- cpe:2.3:a:microsoft:visual_foxpro:9.0:sp2:*:*:*:*:*:*
More vulnerabilities in Microsoft Office
- CVE-2007-0065 — Critical (CVSS 10.0): Heap-based buffer overflow in Object Linking and Embedding (OLE) Automation in Microsoft Windows 2000 SP4, XP SP2,…
- CVE-2003-0347 — Critical (CVSS 10.0): Heap-based buffer overflow in VBE.DLL and VBE6.DLL of Microsoft Visual Basic for Applications (VBA) SDK 5.0 through 6.3…
- CVE-2000-0854 — Critical (CVSS 10.0): When a Microsoft Office 2000 document is launched, the directory of that document is first used to locate DLL's such as…
- CVE-2025-53766 — Critical (CVSS 9.8): Heap-based buffer overflow in Windows GDI+ allows an unauthorized attacker to execute code over a network.
- CVE-2023-23397 — Critical (CVSS 9.8): Microsoft Outlook Elevation of Privilege Vulnerability
- CVE-2023-21716 — Critical (CVSS 9.8): Microsoft Word Remote Code Execution Vulnerability
All CVEs affecting Microsoft Office →
Other CWE-94 (Code Injection) vulnerabilities
- CVE-2026-57624 — Critical (CVSS 10.0): Unauthenticated Remote Code Execution (RCE) in Blocksy Companion Pro <= 2.1.46 versions.
- CVE-2026-10134 — Critical (CVSS 10.0): IBM Langflow OSS 1.0.0 through 1.9.3 allows an attacker to read every secret available to the Langflow process, read…
- CVE-2026-53576 — Critical (CVSS 10.0): Kestra is an open-source, event-driven orchestration platform. Prior to 1.0.45 and 1.3.21, the authentication filter…
- CVE-2026-10561 — Critical (CVSS 10.0): IBM Langflow OSS 1.0.0 through 1.9.3 has an vulnerability due to an improper isolation of Python execution combined…
- CVE-2026-25470 — Critical (CVSS 10.0): Improper Control of Generation of Code ('Code Injection') vulnerability in ACPT ACPT (Pro) - Custom Post Types Plugin…
- CVE-2026-48836 — Critical (CVSS 10.0): Unauthenticated Remote Code Execution (RCE) in Easy Invoice <= 2.1.19 versions.