patchminder
Exploited in the wild · CISA KEV CVE-2012-1854

Unsafe search pathin Microsoft Visual Basic for Applications (VBA).

Published 10 Jul 2012 · Updated 14 Apr 2026 · Every fact sourced

JSONCite
Is it exploited?
Yes

On CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks.'s exploited list since 13 Apr 2026.

On CISA's list
Severity
High 7.8
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks. assessment · no login needed
Attack likelihood
High
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 20.9% chance in 30 days · 4 Dec 2026
Fix
Not confirmed
See the vendor advisory
In plain words

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.

What to do now
  • CISA requires US federal agencies to fix it by 27 Apr 2026.

Not confirmed by any source yet: affected versions not confirmed; fixed version not confirmed. We show these as not confirmed instead of guessing.

Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
n/a
Not confirmed
Not confirmed
CVE record

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 22 Mar 2012
    CVE ID reserved by microsoft.
  2. 10 Jul 2012
    Published in the CVE List.
  3. 13 Apr 2026
    Added to CISA's Known Exploited Vulnerabilities list.
  4. 14 Apr 2026
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Exploited in the wild (CISA KEV). CISA assessment (SSVC): exploitation active.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
None known

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Same weakness: Untrusted search path

All CWE-426 vulnerabilities

References
Cite this page

Patchminder. CVE-2012-1854: Unsafe search path in Microsoft Visual Basic for Applications (VBA). https://patchminder.com/cve/cve-2012-1854/ (accessed 5 December 2026).