Unsafe search pathin Microsoft Visual Basic for Applications (VBA).
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.
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.
- 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.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 22 Mar 2012CVE ID reserved by microsoft.
- 10 Jul 2012Published in the CVE List.
- 13 Apr 2026Added to CISA's Known Exploited Vulnerabilities list.
- 14 Apr 2026CVE record last updated.
Attack code anyone can find
Exploit maturity: Exploited in the wild (CISA KEV). CISA assessment (SSVC): exploitation active.
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.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Same weakness: Untrusted search path
- www.us-cert.gov third-party-advisory, x_refsource_CERT
- oval.cisecurity.org vdb-entry, signature, x_refsource_OVAL
- docs.microsoft.com vendor-advisory, x_refsource_MS
- learn.microsoft.com vendor-advisory
- www.cisa.gov government-resource
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).