๐ŸŸข CVE-2012-1854

CVE-2012-1854 is an untrusted search path vulnerability in Microsoft Office VBA that allows local privilege escalation via DLL hijacking. Exploitation requires a user to open a malicious Office document from a directory containing a Trojan horse DLL.

โ† Back to Overview
LOW_RISK
Risk Level
7.8
CVSS Score
LOCAL
Attack Vector
Execution
ATT&CK Tactic
T1204 โ€” User Execution
ATT&CK Technique
VERY_LOW
Deployment Risk
No
Ransomware

๐Ÿ“‹ Vulnerability Details

Data Source: CIRCL

Confidence: HIGH

Exploitation Method: USER_INTERACTION

CVE Published: 2012-07-10

Added to CISA KEV: 2026-04-13 5025 DAYS BETWEEN CVE AND KEV

๐ŸŽฏ Recommendations:

๐Ÿ” Web Intelligence (Kagi ยท 2026-06-04)

CVE-2012-1854 is an untrusted search path vulnerability located in `VBE6.dll`, a component used by Microsoft Visual Basic for Applications (VBA) [1].

Attack Method and Exploitation Requirements
  • Method: The vulnerability allows an attacker to perform a DLL hijacking attack. Because the application insecurely searches for a required library in the current working directory before checking secure system locations, an attacker can place a malicious "Trojan horse" DLL in a directory alongside a legitimate file (such as a `.docx` document) [1].
  • Requirements: This is a local attack. It typically requires a user to open a file from a directory that also contains the malicious DLL [1].
Impact and Access
Successful exploitation allows a local user to gain privileges, effectively executing arbitrary code with the permissions of the user running the affected application [1].
Exploitation in the Wild
  • Status: The vulnerability was confirmed to have been exploited in the wild in July 2012 [1].
  • Usage: While it was used in active attacks during that period, there is no widespread documentation classifying it as a primary vector for modern ransomware campaigns, though it served as a mechanism for local privilege escalation in targeted scenarios.
Affected Products and Mitigation
  • Affected Versions:
* Microsoft Office 2003 SP3 * Microsoft Office 2007 SP2 and SP3 * Microsoft Office 2010 Gold and SP1 * Microsoft Visual Basic for Applications (VBA) * Summit Microsoft Visual Basic for Applications SDK
  • Status: Microsoft addressed this class of vulnerabilities by changing how applications search for DLLs. Users of these legacy versions of Office are advised to ensure all available security updates from Microsoft are applied, although these products are long past their support lifecycle.

Sources

  1. CVE-2012-1854 Detail - 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 ... Official websites use .gov A .gov website belongs to an official government organization in the United States. ... CVE-2012-1854 Detail. Modiโ€ฆ