Summary
CVE-2012-0158 is a remote code execution vulnerability in Microsoft MSCOMCTL.OCX, rated high severity with a CVSS base score of 8.8.
CISA added it to the Known Exploited Vulnerabilities catalogue on 3 November 2021, which means there is reliable evidence that attackers have exploited it and it is known to have been used in ransomware campaigns.
It can be exploited remotely over a network without needing an account, although a user would need to take an action such as opening a file or link.
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.
Key facts
- Affected product
- Microsoft · MSCOMCTL.OCX
- CVSS severity
- High8.8CVSS v3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS (exploitation likelihood, next 30 days)
- 99.97%Higher than 99.9% of all scored CVEs
- Weakness (CWE)
- CWE-94
- Added to CISA KEV
- CISA due date (US federal agencies)
- First published (NVD)
- NVD status
- Analyzed
CISA required action
Apply updates per vendor instructions.
What UK organisations should do
01 Patch or mitigate
- The vendor has published a fix. Apply the update to every affected instance, starting with internet-facing systems.
- CISA's required action: Apply updates per vendor instructions. CISA set a remediation due date of 3 May 2022 for US federal agencies; treat it as an indication of urgency rather than a deadline you can wait for.
- If you cannot patch straight away, record the risk decision, limit access to the affected service and set a review date.
02 Check your exposure
- Confirm whether you run Microsoft MSCOMCTL.OCX anywhere, including systems managed by suppliers or cloud providers.
- Check whether management interfaces or web front ends for the product are reachable from the internet, and restrict them to trusted networks or a VPN.
- Because this vulnerability is known to be exploited, check affected systems for signs of compromise before and after patching, not just for the missing update.
03 Monitor and respond
- Alert on unexpected child processes, new scheduled tasks, outbound connections and web shells on affected hosts.
- If you find signs of compromise, follow your incident response plan. UK organisations can report significant incidents to the National Cyber Security Centre (NCSC), and personal data breaches may need to be reported to the ICO within 72 hours.
More from Microsoft
- CVE-2026-124194
Office
Outlook Missing User Interaction for Potentially Unsafe Action
Medium6.5 - CVE-2026-96951
Windows
Command Injection
High8.8 - CVE-2026-65660
SharePoint
Code Injection
High8.8 - CVE-2026-85880
Windows
Heap-Based Buffer Overflow
High7.8 - CVE-2026-81963
Windows
Link Following
High7.8 - CVE-2019-1068
SQL Server
Remote Code Execution
High8.8
Same weakness (CWE-94) in other products
- CVE-2026-90817
Vanderbilt University · Research Electronic Data Capture (REDCap)
Code Injection
Critical9.8 - CVE-2026-115731
Perforce · Puppet Enterprise
Deserialization of Untrusted Data
Critical9.9 - CVE-2026-0322
Palo Alto Networks · PAN-OS
Code Injection
High7.2 - CVE-2026-60004
Gitea · Gitea
Code Injection
Critical9.8 - CVE-2026-72530
TrueConf · Server
Code Injection
Critical9.0 - CVE-2025-62593
Ray-Project · Ray
Code Injection
High8.8
Sources and references
- CISA Known Exploited Vulnerabilities catalogue
- NVD record for CVE-2012-0158
- FIRST EPSS score
- us-cert.govThird Party Advisory · US Government Resource
- docs.microsoft.comPatch · Vendor Advisory
- exchange.xforce.ibmcloud.comThird Party Advisory · VDB Entry
- cisa.govUS Government Resource
Last updated . Summary and guidance are generated from CISA, NVD and FIRST data; always confirm details in the vendor advisory.