{"id":"CVE-2012-0158","kind":"vulnerability","aliases":["CVE-2012-0158"],"related":[],"title":"Microsoft MSCOMCTL.OCX: Microsoft MSCOMCTL.OCX Remote Code Execution Vulnerability","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.\"","summary":"Microsoft's MSCOMCTL.OCX common controls library has an unspecified flaw that allows remote code execution. An attacker who gets a user to open a crafted file or page can take full control of that user's session on the Windows machine.","severity":"critical","cvss":9.3,"epss":0.99976,"exploited":true,"exploited_at":"2021-11-03T00:00:00+00:00","products":[{"name":"Microsoft MSCOMCTL.OCX","fixed":[],"affected":"","ecosystem":"vendor"}],"ecosystems":["vendor"],"tags":["exploited","infrastructure","legacy-windows","microsoft-office","ransomware","windows"],"not_affected_if":["no-vulnerable-mscomctl","patched-windows"],"how_to_check":null,"fix":"Apply the Microsoft security update for CVE-2012-0158 per vendor instructions (CISA required action).","status":"open","published_at":"2012-04-10T21:55:01+00:00","first_seen_at":"2026-10-23T19:11:53+00:00","triaged_at":"2026-10-23T21:37:13+00:00","updated_at":"2026-10-23T21:57:34+00:00","category":"infrastructure","confidence":0.7,"triage":{"at":"2026-10-23T21:37:13Z","model":"claude-haiku-5-5","output":{"fix":"Apply the Microsoft security update for CVE-2012-0158 per vendor instructions (CISA required action).","reach":"internet","impact":"high","summary":"Microsoft's MSCOMCTL.OCX common controls library has an unspecified flaw that allows remote code execution. An attacker who gets a user to open a crafted file or page can take full control of that user's session on the Windows machine.","category":"infrastructure","who_cares":["windows","microsoft-office","legacy-windows"],"confidence":0.7,"needs_auth":"no","worst_case":"Attacker runs code as the current user on the Windows machine","analyst_note":"Confirm the exact affected Windows and Office builds and the patch bulletin ID from the Microsoft advisory, and check the CISA KEV entry for the required update reference.","how_to_check":"unknown","needs_analyst":true,"not_affected_if":["patched-windows","no-vulnerable-mscomctl"],"user_interaction":"yes","needs_special_setup":"unknown","severity_if_unknown":"critical"},"cost_usd":0.00047,"input_tokens":2874,"output_tokens":366,"severity_before":"unknown"},"analyst_status":"queued","analyst_note":"Confirm the exact affected Windows and Office builds and the patch bulletin ID from the Microsoft advisory, and check the CISA KEV entry for the required update reference.","search":"'-0158':11A,14A '-2012':10A,13A '1':69C '2':71C '2000':107C '2002':119C,123C '2003':89C,101C '2005':109C '2007':91C,125C '2008':112C '2009':128C '2010':96C '2012':176C '3':73C '4':76C '6.0':142C '8.0':134C '9.0':137C 'activex':78C 'aka':177C 'allow':38B,144C 'april':175C 'arbitrari':149C 'attack':43B,146C 'b':157C 'basic':141C 'biztalk':117C 'c':161C 'code':6A,40B,150C 'commerc':121C 'common':30B,84C 'compon':103C 'control':31B,58B,79C,85C 'corrupt':168C 'craft':51B,153C 'cve':9A,12A 'document':159C 'execut':7A,41B,148C 'exploit':17B,170C 'file':52B,163C 'flaw':36B 'foxpro':133C 'full':57B 'get':45B 'gold':97C,129C 'infrastructur':18B 'legaci':20B 'legacy-window':19B 'librari':32B 'listview':70C 'listview2':72C 'machin':67B 'microsoft':1A,3A,15A,23B,27B,87C 'microsoft-offic':22B 'mscomctl.ocx':2A,4A,16A,29B,81C,178C 'offic':24B,88C,100C,158C 'open':49B 'page':54B 'r2':116C,131C 'ransomwar':25B 'rce':179C 'remot':5A,39B,145C 'rtf':162C 'runtim':143C 'server':106C,118C,122C 'session':63B 'site':156C 'sp1':99C,120C,135C 'sp2':92C,113C,126C,138C 'sp3':90C,94C,104C,114C 'sp4':108C,110C,124C 'sql':105C 'state':167C 'system':166C 'take':56B 'treeview':74C 'treeview2':77C 'trigger':165C 'unspecifi':35B 'user':47B,61B 'via':151C 'visual':132C,140C 'vulner':8A,180C 'web':102C,155C 'wild':173C 'window':21B,26B,66B","nicknames":[],"mitigations":[],"who_affected":null,"tier":null,"verified":{},"analyst_revisit_at":null,"first_public_at":"2012-04-10T21:55:01+00:00","kev":{"dateAdded":"2021-11-03","dueDate":"2022-05-03","requiredAction":"Apply updates per vendor instructions.","knownRansomwareCampaignUse":"Known"},"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","cvss_by":"nvd@nist.gov","poc_count":0,"sources":[{"source":"kev","external_id":"CVE-2012-0158","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2012-0158","severity":null,"published_at":"2021-11-03T00:00:00+00:00","modified_at":null,"first_seen_at":"2026-10-23T19:11:53+00:00","fetched_at":"2026-10-25T17:39:59+00:00","note":null},{"source":"epss","external_id":"CVE-2012-0158","url":"https://api.first.org/data/v1/epss?cve=CVE-2012-0158","severity":null,"published_at":null,"modified_at":null,"first_seen_at":"2026-10-23T19:13:44+00:00","fetched_at":"2026-10-23T19:13:44+00:00","note":null},{"source":"nvd","external_id":"CVE-2012-0158","url":"https://nvd.nist.gov/vuln/detail/CVE-2012-0158","severity":null,"published_at":"2012-04-10T21:55:01+00:00","modified_at":"2026-06-16T23:36:48+00:00","first_seen_at":"2026-10-23T21:57:34+00:00","fetched_at":"2026-10-23T21:57:34+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}