CVE-2012-0158
CVE-2012-0158 — Microsoft MSCOMCTL.OCX Remote Code Execution Vulnerability
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."
Published Updated Sources: NVD, Microsoft (CNA), CISA, FIRST EPSS, GitHub, GitHub Security Advisory, Exploit-DB, SOCRadar CTI
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Confirmed
CISA KEV, listed Nov 3, 2021
EPSS
100%
top of FIRST's scoreset
CVSS base
8.8
high · 2 sources
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
Active
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Total
partial · total control of the vulnerable component
Remediation
The vendor's own words where we have them.
Upgrade MSCOMCTL.OCX to a fixed release. Apply vendor patches per advisory and restrict external exposure of the affected component until patched.
CISA required action
Apply updates per vendor instructions.
Federal deadline May 3, 2022 — passed 1,676 days ago
First 24 hours
Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.
- Identify exposed assets running affected vendor/product/version combinations.
- Treat as emergency remediation because CISA KEV status is present.
- Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.
Affected scope
Vendor, product and version as the advisories word them.
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Microsoft | MSCOMCTL.OCX | n/a | Vulnerable |
Attack characteristics
The CVSS vector, decoded. It describes the attack, not your exposure to it.
Availability
High
Confidentiality
High
Integrity
High
Scope
Unchanged
Attack Complexity
Low
Attack Vector
Network
Privileges Req
None
User Interaction
Required
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 8.8 | CVSS 3.1 | high | 2.8 | 5.9 | NVD, CNA, GHSA |
| 9.3 | CVSS 2.0 | high | 8.6 | 10 | NVD |
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
What this weakness leads to
MITRE's own consequences and mitigations for the weakness class — the authority's wording, not guidance derived from the CVSS vector.
CWE-94 · Improper Control of Generation of Code ('Code Injection')
- Bypass Protection Mechanism
- Gain Privileges or Assume Identity
- Execute Unauthorized Code or Commands
- Hide Activities
Mitigation: Refactor your program so that you do not have to dynamically generate code.
Weakness & attack patterns
- CWE-94Code Injection
Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.
- T1027.006Obfuscated Files or Information: HTML Smuggling
- T1027.009Obfuscated Files or Information: Embedded Payloads
- T1564.009Hide Artifacts: Resource Forking
CISA KEV details
CISA lists a CVE here once it has evidence of exploitation against real targets.
Listed
Nov 3, 2021
Federal deadline
May 3, 2022
passed 1,676 days ago
Ransomware use
Known
CISA records ransomware use only for campaigns it has confirmed, so “Unknown” means unrecorded, not ruled out. The deadline binds US federal agencies; for everyone else it is a date to argue against.
Public exploit
Capability, not use: code existing is a different claim from anyone running it.
PoC repos
36
2 of the 5 sampled are weaponized
Exploit entries
7
Exploit-DB and CTI exploit indexes
Malware
Families a CTI source ties to this CVE. One named, with the total it tracks.
Families tracked
2
Named
Cl0p
Social mentions
Posts naming this CVE. Attention, not evidence of exploitation — it spikes on disclosure and decays whether or not anything is exploited.
Detection rules
Sigma and YARA rules a source published for this CVE — the only detection content any connected source supplies.

Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Prioritize edge telemetry for network-reachable MSCOMCTL.OCX.
- Monitor for scanner or exploit-pattern traffic after 43 public PoC repositories were reported.
Groups associated with this CVE
Groups reported in connection with this vulnerability. A reported association, not a confirmed observation of that group using it — and not scoped to any sector or campaign.
14 more threat groups on this CVEShowing 5 of 19 · Attribution, campaigns and the malware each one runsUnlock free- hash311f3baa9bfa5b2364fea8b254d15eb990
Kaspersky Public Requests · Feb 5, 2025
- hash992585b81acaccdb5c89361cdd1c1fd25e0c5ca189
Kaspersky Public Requests · Jan 17, 2025
- hashbea219f0f08ed083677a0b869e658ba09785f470668eadc659db2885fa89f3b995
Kaspersky Public Requests · May 2, 2023
- hash1e6544fe59b8bb365a599d77d37831a0cc41467d8dd98a48cd88e2d3a4d5abf795
Public Malware Feeds · May 15, 2020
- hash2185cc79288f77dfaf3e568797f93b57e78fbaa1785e1732aea53dff8a48157695
Public Malware Feeds · Jun 2, 2020
5 more indicators on this CVEShowing 5 of 10 · Hashes, addresses and domains from a live threat exchangeUnlock freeTimeline
What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.
- 2026
Added · CVSS 3.1 8.8 (AV:N)
Jun 16, 2026 · NVD
- 2025
Bulletin released on Mitre.
Jul 28, 2025 · SOCRadar CTI
- 2024
Bulletin released on NIST.
Dec 20, 2024 · SOCRadar CTI
Bulletin released on NIST.
Jul 24, 2024 · SOCRadar CTI
- 2023
CVE is exploited. "Ostorlab/KEV"
Dec 26, 2023 · SOCRadar CTI
CVE is exploited. "ARPSyndicate/cvemon"
Dec 15, 2023 · SOCRadar CTI
CVE is exploited. "Ostorlab/known_exploited_vulnerbilities_detectors"
Dec 15, 2023 · SOCRadar CTI
CVE is exploited. "RobertoLeonFR-ES/Exploit-Win32.CVE-2012-0158.F.doc"
Dec 15, 2023 · SOCRadar CTI
CVE is exploited. "houjingyi233/office-exploit-case-study"
Dec 15, 2023 · SOCRadar CTI
- 2022
Added · GHSA-xc3w-wqx5-qrf9 published (high)
May 4, 2022 · GitHub Security Advisory
- 2021
Added to CISA KEV catalog
Nov 3, 2021 · CISA
- 2012
Added · Verified remote entry: Microsoft Windows - MSCOMCTL ActiveX Buffer Overflow (MS12-027) (Metasploit)
Apr 25, 2012 · Exploit-DB
Initial · CVE published
Apr 10, 2012 · NVD
Source activity
Readings a source repeats on a schedule, counted rather than listed.
- 10×Github ReposJan 28, 2021 – Feb 27, 2023 · SOCRadar CTI
- 4×ModifiedJul 24, 2024 – Feb 10, 2025 · SOCRadar CTI
- 3×TweetsNov 5, 2023 – Jun 9, 2026 · SOCRadar CTI
- 2×1 time mentioned on 1 Telegram channelApr 22, 2025 – Apr 23, 2025 · SOCRadar CTI
- 1×SVRS is calculatedJun 9, 2026 · SOCRadar CTI
References
16 on the record
- opensources.info/comment-on-the-curious-case-of-a-cve-2012-0158-exploit-by-chris-pierce/
Broken Link, Vendor Advisory, MITRE_REFERENCES, NIST
- www.securityfocus.com/bid/52911
Broken Link, Third Party Advisory, VDB Entry, NIST
- www.securitytracker.com/id?1026899
Broken Link, Third Party Advisory, VDB Entry, NIST
- www.securitytracker.com/id?1026900
Broken Link, Third Party Advisory, VDB Entry, NIST
- www.securitytracker.com/id?1026902
Broken Link, Third Party Advisory, VDB Entry, NIST
- www.securitytracker.com/id?1026903
Broken Link, Third Party Advisory, VDB Entry, NIST
- www.securitytracker.com/id?1026904
Broken Link, Third Party Advisory, VDB Entry, NIST
- www.securitytracker.com/id?1026905
Broken Link, Third Party Advisory, VDB Entry, NIST
Coverage
8 stories from the feeds we poll
The Trail of BlackTech’s Cyber Espionage Campaigns - www.trendmicro.com
trendmicro.com · Jun 22, 2017
Weekly Intelligence Report – 15 May 2026 - cyfirma
cyfirma.com · May 15, 2026
CVE-2012-0158
vuldb.com · Apr 22, 2026
CVE-2012-0158
vuldb.com · Apr 22, 2026
Weekly Intelligence Report – 17 April 2026 - cyfirma
cyfirma.com · Apr 16, 2026
3 more reports on this CVEShowing 5 of 8 · Vendor research and security press coverageUnlock freeRelated CVEs
Same product first, then the same weakness or threat actor.
- CVE-2025-32432 Craft CMS Allows Remote Code ExecutionCVSS 10.0 · CISA KEV
- CVE-2024-4040 CrushFTP VFS Sandbox Escape VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2022-24816 Improper Control of Generation of Code in jai-extCVSS 10.0 · CISA KEV
- CVE-2022-22947 VMware Spring Cloud Gateway Code Injection VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2021-22205 GitLab Community and Enterprise Editions Remote Code Execution VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2019-7609 Kibana Arbitrary Code ExecutionCVSS 10.0 · CISA KEV
Elsewhere on this site
- Microsoftevery CVE for this vendor
- MSCOMCTL.OCXevery page on this product
- Patch Tuesdayacross patch cycles
- November 2021what else CISA listed
- Remote Code Execsame class
- CWE-94other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- Only the 5 indicator(s) reported for this CVE are available; no packet-level or host-forensic artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1
What should defenders know first?
CVE-2012-0158 is Microsoft MSCOMCTL.OCX Remote Code Execution Vulnerability, a high vulnerability affecting MSCOMCTL.OCX from Microsoft. The current evidence lists it in CISA KEV, and the exploit status is: Yes: CISA KEV signal present. Public exploit evidence is: 43 public PoC repositories reported; 2 marked weaponized in current dataset. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS 8.8 describes technical severity, while EPSS 100% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.