CISA list

As of , CVE-2012-0158 in Microsoft MSCOMCTL.OCX is on CISA's list of exploited vulnerabilities: CISA listed it on . Our patch-first group: Patch this week.

CVE-2012-0158

Microsoft MSCOMCTL.OCX: Remote Code Execution. Exploited, and in our Patch this week group.

Our patch-first group

Patch this week

  • Ransomware use
  • Metasploit module
  • EPSS 0.99
  • Verified Exploit-DB entry

CISA's required action

Apply updates per vendor instructions.

Patch infofixed versions and vendor advice

What to install

  • Affects Microsoft MSCOMCTL.OCX.

The record's list of affected products gives no versions.

EPSS score
0.99
Higher than 99% of the CVEs EPSS scores.

EPSS estimates the chance of exploitation activity in the next 30 days.

Exploited
Yes CISA listed it on 3 November 2021
US federal deadline
3 May 2022 181 days after CISA listed it. US federal civilian agencies must fix it by then.
Used in ransomware campaigns
Known CISA changed it from Unknown to Known on 21 August 2026.
EPSS when listed
Not available CISA listed it before 4 February 2022, where the EPSS files we read begin.
Public exploit
1 Metasploit module and 1 Exploit-DB entry (1 verified)

Since listing

EPSS since listing

0.000.501.000.50: EPSS line for Patch this weekEPSS model v2023.03.01EPSS model v2025.03.14EPSS model v2026.06.1520232024202520260.000.501.00EPSS model v2023.03.01EPSS model v2025.03.14EPSS model v2026.06.1520232025

EPSS for CVE-2012-0158 since our EPSS history begins, on the days its value to 2 decimals changed. EPSS scores by FIRST.

Show the numbers
FromEPSS
0.91
0.95
0.97
0.94
0.99

Timeline

What happened when

  1. The CVE record was published.
  2. Exploit-DB published an exploit (EDB-ID 18780).
  3. CISA added it to its list of exploited vulnerabilities.
  4. The US federal deadline to fix it.
  5. CISA changed its entry. Ransomware use: Unknown to Known.

CISA's required action

What CISA says to do

Apply updates per vendor instructions.

Read further: CISA's catalog

The flaw

What the flaw is

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.

CISA's 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."

The CVE record's description, from microsoft

CVE published
10 April 2012
Assigned by
microsoft
CVSS
8.8 High (CVSS 3.1, from CISA-ADP)
CWE-94
Improper Control of Generation of Code
CISA SSVC, exploitation
active
CISA SSVC, automatable
no
CISA SSVC, technical impact
total

Public exploits

Public exploits

Facts from Metasploit's module list and Exploit-DB's index; we never copy exploit code.

Metasploit
MS12-027 MSCOMCTL ActiveX Buffer Overflow
exploit module, rank average
Exploit-DB
Microsoft Windows - MSCOMCTL ActiveX Buffer Overflow (MS12-027) (Metasploit)
EDB-ID 18780, verified by Exploit-DB, 25 April 2012
Sources
  • CVE records: Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation (source). Licence: CVE Program Terms of Use
  • CWE names: Copyright © 2006-2026, The MITRE Corporation. CWE, CWSS, CWRAF, and the CWE logo are trademarks of The MITRE Corporation (source). Licence: CWE Terms of Use
  • EPSS scores by FIRST (https://www.first.org/epss/), generated by Empirical Security (source)