CVEBrief

Home / Microsoft / Office / CVE-2012-0158

CVE-2012-0158: is it exploited, and which versions of Microsoft Office are affected and fixed?

CVE-2012-0158 is a code injection (remote code execution) vulnerability in Microsoft Office, and it is exploited in the wild: CISA added it to its Known Exploited Vulnerabilities catalog on November 3, 2021, with a federal due date of May 3, 2022. Affected: office 2003, office 2007, office 2010 and 13 more (NVD). No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (8.8, CVSS 3.1, from CISA-ADP).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 06:38 UTC, CVE record November 19, 2026, 07:20 UTC and NVD November 19, 2026, 08:49 UTC.

Exploited in the wild
Yes, CISA KEV
added November 3, 2021, due May 3, 2022, used in ransomware
Affected
office 2003, office 2007, office 2010 and 13 more
NVD
Fixed in
Not listed
check the vendor advisory
Severity
High 8.8
CVSS 3.1 from CISA-ADP
Exploit odds (EPSS)
100.0% in 30 days
higher than 100% of CVEs; FIRST, December 2, 2026

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

From the CVE record by microsoft, last updated October 22, 2025, 00:05 UTC.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
microsoftoffice2003application
microsoftoffice2007application
microsoftoffice2010application
microsoftoffice web components2003application
microsoftsql server 2000all versionsapplication
microsoftsql server 2005all versionsapplication
microsoftsql server 2008all versionsapplication
microsoftsql server 2008r2application
microsoftbiztalk server2002application
microsoftcommerce server2002application
microsoftcommerce server2007application
microsoftcommerce server 2009all versionsapplication
microsoftcommerce server 2009r2application
microsoftvisual basic6.0application
microsoftvisual foxpro8.0application
microsoftvisual foxpro9.0application

NVD analysis (status Analyzed), last modified June 16, 2026, 23:36 UTC.

How severe is CVE-2012-0158?

ScoreVersionVectorSource
High 8.8CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HCISA-ADP
High 8.8CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HNVD
High 9.3CVSS 2.0AV:N/AC:M/Au:N/C:C/I:C/A:CNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2012-0158 exploited in the wild?

CISA KEV
Listed as Microsoft MSCOMCTL.OCX Remote Code Execution Vulnerability, added November 3, 2021; federal agencies must act by May 3, 2022
Required action
Apply updates per vendor instructions.
Ransomware use
Known
CISA's summary
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 SSVC
Exploitation: active; automatable: no; technical impact: total (CISA ADP, February 10, 2025)
EPSS
100.0% probability of exploitation activity in the next 30 days, percentile 100.0 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
December 13, 2011
Published
April 10, 2012, 21:00 UTC
CVE record updated
October 22, 2025, 00:05 UTC by microsoft
NVD
Analyzed, last modified June 16, 2026, 23:36 UTC
Last checked
CVE list November 19, 2026, 07:20 UTC; NVD November 19, 2026, 08:49 UTC; KEV December 3, 2026, 06:38 UTC; EPSS December 2, 2026
Official record
cve.org · NVD · CISA KEV

What other CVEs affect Office?

Every CVE in Office

Questions about CVE-2012-0158

Is CVE-2012-0158 exploited in the wild?

Yes. CISA added CVE-2012-0158 to its Known Exploited Vulnerabilities catalog on November 3, 2021 and set federal agencies a due date of May 3, 2022. CISA lists it as used in ransomware campaigns. FIRST's EPSS gives it a 100.0% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of Microsoft Office are affected by CVE-2012-0158?

office 2003, office 2007, office 2010, office web components 2003, sql server 2000 all versions, sql server 2005 all versions and 10 more, per the NVD. The tables above give every range the sources list.

Which version fixes CVE-2012-0158?

None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.

How severe is CVE-2012-0158?

High (8.8, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.

Where is the official record of CVE-2012-0158?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov; CISA's entry is in its Known Exploited Vulnerabilities catalog. For a fix, the vendor's own advisory is the one to follow.