Skip to content
RedCVE

CVE-2012-0158Microsoft MSCOMCTL.OCX Remote Code Execution Vulnerability

ExploitedRansomwareMicrosoftPublished:

CVSS score

8.8

High

CVSS 3.1 from NVD

Exploit probability (EPSS)

100.0%

100.0% chance of exploitation in the next 30 days, higher than 100.0% of all CVEs.

CISA KEV

Actively exploited

Added to KEV on 3 Nov 2021.

US federal deadline to fix: 3 May 2022.

Ransomware

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

Source: NVD · CNA: secure@microsoft.com

How to fix it, step by step

  1. Treat it as urgent

    Attackers are already exploiting this flaw: CISA added it to its Known Exploited Vulnerabilities list on 3 Nov 2021.

    US federal agencies must fix it by 3 May 2022. It's a sensible deadline for everyone else too.

    CISA reports it has been used in ransomware attacks.

    CISA's full instruction
    Apply updates per vendor instructions.
  2. Check whether you're affected

    Find every system running Microsoft Office Web Components, Microsoft Sql Server 2000, Microsoft Sql Server 2005, Microsoft Sql Server 2008, Microsoft Biztalk Server and compare its version with the affected versions.

  3. Apply the vendor's fix

    The official record doesn't name a fixed version. The vendor's advisory describes the fix:

  4. Check for signs of compromise

    Updating closes the flaw but doesn't remove an attacker who got in earlier. Review affected systems for unknown accounts, unusual logins and configuration changes, and use any indicators of compromise the vendor or CISA publish.

Was this useful?

How it can be exploited

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected products

Affected productsVersions
Microsoft Office2003 · 2007 · 2010
Microsoft Office Web Components2003
Microsoft Sql Server 2000Not specified
Microsoft Sql Server 2005Not specified
Microsoft Sql Server 2008r2
Microsoft Biztalk Server2002
Microsoft Commerce Server2002 · 2007
Microsoft Commerce Server 2009r2
Microsoft Visual Basic6.0
Microsoft Visual Foxpro8.0 · 9.0

Weakness

Timeline

  1. Published:
  2. Added to CISA KEV:
  3. Last modified:

Frequently asked questions

Is CVE-2012-0158 being exploited?

Yes. CISA added CVE-2012-0158 to its Known Exploited Vulnerabilities catalog on 3 Nov 2021, which means there is evidence of exploitation in the wild. Its EPSS score estimates a 100.0% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2012-0158?

CVE-2012-0158 has a CVSS 3.1 base score of 8.8 (high).

Which versions are affected?

Microsoft Office (2003; 2007; 2010), Microsoft Office Web Components (2003), Microsoft Sql Server 2000, Microsoft Sql Server 2005, Microsoft Sql Server 2008 (r2), Microsoft Biztalk Server (2002)

Is there a patch for CVE-2012-0158?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.