CVE-2012-1854 Microsoft Visual Basic for Applications Insecure Library Loading
Local attackers can gain privileges via a malicious DLL in the working directory when opening documents in Microsoft Office or VBA.
- Exploited in the wild
- Since 13 Apr 2026
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2012-1854?
CVE-2012-1854 is a high-severity vulnerability in Microsoft Office, published on 10 Jul 2012. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-426
Which versions are affected by CVE-2012-1854?
It affects 3 products.
Products include Microsoft Office, Microsoft Visual Basic for Applications, Microsoft Visual Basic for Applications Sdk.
How do I fix CVE-2012-1854?
No fix has been published for CVE-2012-1854 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 27 Apr 2026.
Is CVE-2012-1854 being exploited?
Yes. Attackers have exploited CVE-2012-1854 in the wild since at least 13 Apr 2026.
Other vulnerabilities in Microsoft Office
Sources
Also known as GHSA-77fm-4w36-vpp3.