Cyber Resilience

CVE-2012-1854

LPE in Microsoft Office 2003 … 2010

CISA KEVActive ExploitationEUVD ExploitedLPE
Published
10 July 2012
Modified
22 April 2026
KEV Added
13 April 2026
Patch / advisory
CVSS Score v3.1 7.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS Score 0.21 97th percentile
Risk Priority 83 floored blend · peak EPSS

Summary

CVE-2012-1854 is a high-severity Untrusted Search Path (CWE-426) vulnerability in Microsoft Office. Its CVSS base score is 7.8 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Path Interception (T1034); ranked in the top 3% of CVEs by exploit likelihood; CISA has added it to the Known Exploited Vulnerabilities catalog.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

The vulnerability is an untrusted search path issue, also described as insecure library loading, in VBE6.dll. It affects Microsoft Office 2003 SP3, 2007 SP2 and SP3, and 2010 Gold and SP1, as well as Microsoft Visual Basic for Applications (VBA) and the Summit Microsoft Visual Basic for Applications SDK. The flaw allows a Trojan horse DLL placed in the current working directory to be loaded instead of the legitimate library.

A local attacker can exploit the weakness by positioning a malicious DLL alongside a document such as a .docx file. When a vulnerable Office application or VBA component opens the file, the DLL is loaded with the privileges of the running process, resulting in arbitrary code execution and privilege escalation. The attack requires user interaction to open the document but needs no additional remote access.

Microsoft security bulletin MS12-046 and US-CERT alert TA12-192A recommend installing the vendor-supplied patches that correct the library search order. The updates are also referenced in OVAL definitions for automated detection.

The vulnerability was exploited in the wild in July 2012.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)
KEV Date Added
13 April 2026

Related Threats

MITRE ATT&CK Enterprise Techniques

T1034 Path Interception Persistence
**This technique has been deprecated.
T1574 Hijack Execution Flow Stealth
Adversaries may execute their own malicious payloads by hijacking the way operating systems run programs.
T1574.001 DLL Stealth
Adversaries may abuse dynamic-link library files (DLLs) in order to achieve persistence, escalate privileges, and evade defenses.
T1574.008 Path Interception by Search Order Hijacking Stealth
Adversaries may execute their own malicious payloads by hijacking the search order used to load other programs.
T1574.007 Path Interception by PATH Environment Variable Stealth
Adversaries may execute their own malicious payloads by hijacking environment variables used to load libraries.
T1574.009 Path Interception by Unquoted Path Stealth
Adversaries may execute their own malicious payloads by hijacking vulnerable file path references.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2022-22047Same vendor: Microsoftboth on KEV
CVE-2024-43616Same product: Microsoft Office
CVE-2026-20943Same product: Microsoft Office
CVE-2026-57097Same vendor: Microsoft
CVE-2023-36898Same vendor: Microsoft
CVE-2024-30100Same vendor: Microsoft
CVE-2026-25190Same vendor: Microsoft
CVE-2025-60718Same vendor: Microsoft
CVE-2025-21365Same vendor: Microsoft
CVE-2023-21763Same vendor: Microsoft

Affected Assets

microsoft
office
2003, 2007, 2010
microsoft
visual basic for applications
all versions
microsoft
visual basic for applications sdk
all versions

Mitigating Controls

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-05 full match
prevents

Preventing execution of unauthorized code directly blocks the malicious binaries that an untrusted search path would load.

PR.PS-06 mostly match
prevents

Secure development practices include avoiding or sanitizing externally influenced search paths in application code.

PR.PS-01 partial match
prevents

Hardened configuration baselines can enforce safe search paths and restrict environment variables that enable the weakness.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

finds

Security testing can discover search-path issues but does not itself prevent them in production code.

degrades

Restricting software installation reduces the chance that untrusted binaries or libraries are placed in search paths.

prevents

Secure architecture principles include hard-coded or validated search paths and avoiding reliance on untrusted directories.

prevents

Secure coding standards require absolute paths or integrity-checked search paths, directly mitigating CWE-426.

none

Change-management processes can enforce review of path-handling changes, indirectly lowering risk.

References