← Vulnerability feed

Vulnerability record · CVE-2012-1854 · published 10 July 2012

CVE-2012-1854: Microsoft Office VBE6.dll Untrusted Search Path Privilege Escalation

Microsoft · Office

VBE6.dll in Microsoft Office 2003 SP3, 2007 SP2/SP3, 2010 Gold/SP1, Microsoft VBA, and the Summit Microsoft VBA SDK loads a library from an untrusted search path. A local attacker who places a malicious DLL in the current working directory can get it loaded by the affected component. The flaw was exploited in the wild in July 2012.

7.8 CVSS 3.1 High CISA KEV since 13 Apr 2026 EPSS 21% · top 2.5% CWE-426 · Untrusted search path
7.8CVSS 3.1 base score, v2 6.9
21%EPSS exploitation probability, 30 days
YesIn CISA KEV, fix deadline passed
3Affected product versions listed by NVD
8References
16 Jun 2026Last modified by NVD

Description

Untrusted search path vulnerability in VBE6.dll in Microsoft Office 2003 SP3, 2007 SP2 and SP3, and 2010 Gold and SP1; Microsoft Visual Basic for Applications (VBA); and Summit Microsoft Visual Basic for Applications SDK allows local users to gain privileges via a Trojan horse DLL in the current working directory, as demonstrated by a directory that contains a .docx file, aka "Visual Basic for Applications Insecure Library Loading Vulnerability," as exploited in the wild in July 2012.

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 17 September 2026. Confidence: high.

high priorityThe flaw is in CISA KEV with confirmed in-the-wild exploitation and a high EPSS score, though it requires local access and user interaction.

What it is

VBE6.dll in Microsoft Office 2003 SP3, 2007 SP2/SP3, 2010 Gold/SP1, Microsoft VBA, and the Summit Microsoft VBA SDK loads a library from an untrusted search path. A local attacker who places a malicious DLL in the current working directory can get it loaded by the affected component. The flaw was exploited in the wild in July 2012.

Impact

An attacker gains code execution at the privilege level of the user who opens the crafted file, which can lead to full system compromise if that user has administrative rights.

Attack surface

Reached locally: the victim must open a file such as a .docx from a directory containing the attacker's Trojan horse DLL. No prior authentication is required, but user interaction (opening the file) is needed per the CVSS vector AV:L/UI:R.

Exploitation

CISA added this to the Known Exploited Vulnerabilities catalog with a due date of 2026-04-27, and the NVD description states it was exploited in the wild in July 2012. EPSS gives a 30-day probability of 0.21028 (97.4th percentile).

What to do

  • Apply the Microsoft MS12-046 update for affected Office, VBA, and VBA SDK versions.
  • If patching is not possible, discontinue use of the affected product per CISA BOD 22-01 guidance.
  • Do not open Office documents from untrusted directories or locations where unknown DLLs may reside.
  • Restrict write access to directories used to open Office documents to prevent DLL planting.
  • Follow vendor mitigation guidance in MS12-046 for any interim workarounds.

Detection

  • Monitor for unexpected DLL files created in directories alongside Office documents, especially VBE6.dll or similarly named libraries.
  • Alert on Office processes loading DLLs from user-writable or document directories rather than System32.
  • Review endpoint logs for Office applications spawning child processes after opening documents from untrusted paths.
  • Hunt for known exploitation artifacts tied to the July 2012 in-the-wild activity referenced in the NVD description.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Exploitation in the wild

CISA added CVE-2012-1854 to the Known Exploited Vulnerabilities catalog on 13 April 2026 as "Microsoft Visual Basic for Applications Insecure Library Loading Vulnerability". Required action: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable. Federal deadline 27 April 2026.

Affected products

3 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2012-1854 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2023-23397Microsoft Outlook improper input validation privilege escalationCVE-2023-23397 is a critical elevation of privilege flaw in Microsoft Outlook caused by improper input validation and an authentication bypass by cap…KEVEPSS 97%analysed8.8CVE-2023-35311Microsoft Outlook security feature bypass via TOCTOU race conditionCVE-2023-35311 is a security feature bypass in Microsoft Outlook caused by a time-of-check time-of-use (TOCTOU) race condition (CWE-367). It affects …KEVEPSS 16%analysed8.8CVE-2019-1297Microsoft Excel memory handling flaw allows remote code executionCVE-2019-1297 is a remote code execution vulnerability in Microsoft Excel caused by improper handling of objects in memory. An attacker who convinces…KEVEPSS 22%analysed8.8CVE-2019-0541Microsoft MSHTML engine input validation flaw allows remote code executionThe MSHTML engine in Microsoft Office, Internet Explorer and related viewers fails to properly validate input, allowing remote code execution. Becaus…KEVEPSS 53%analysed8.8CVE-2018-0798Microsoft Office Equation Editor memory corruption RCEEquation Editor in Microsoft Office 2007 through 2016 mishandles objects in memory, producing an out-of-bounds write (CWE-787) that can be turned int…KEVEPSS 95%analysed8.8CVE-2015-2424Microsoft Office memory corruption via crafted documentCVE-2015-2424 is an out-of-bounds write (CWE-787) in Microsoft PowerPoint and Word that is triggered when a crafted Office document is opened. A remo…KEVEPSS 40%analysed8.8CVE-2015-1770Microsoft Office uninitialized memory use allows remote code executionMicrosoft Office 2013 SP1 and 2013 RT SP1 mishandle uninitialized memory when parsing a crafted Office document, which can lead to arbitrary code exe…KEVEPSS 35%analysed8.8CVE-2012-1856Microsoft Office MSCOMCTL.OCX TabStrip ActiveX Control Remote Code ExecutionThe TabStrip ActiveX control in MSCOMCTL.OCX fails to properly handle system state, allowing a crafted document or web page to corrupt memory and exe…KEVEPSS 72%analysed

Source: NIST National Vulnerability Database (record CVE-2012-1854), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.