Vulnerability · CVE-2012-1854
Microsoft Visual Basic for Applications Insecure Library Loading Vulnerability
Published Jul 10, 2012 · catalog updated Jun 16, 2026 · Microsoft Visual Basic for Applications (VBA)
Patch now
CVE-2012-1854 is in the CISA known-exploited catalog, due Apr 27, 2026. Confirm Microsoft Visual Basic for Applications (VBA) against the vendor advisory and apply that fix. The CVSS score does not change the priority.
Gaps on this record
- No version range is stored. A customer cannot check an installed version against this record.
- Severity
- High7.8
- Known exploitation
- CISA KEV and VulnCheck KEV
- EPSS
- 20.87%
- Remediation
- Remediation guidance
- Affected products
- cpe microsoft/office · cpe microsoft/visual basic for applications · vendor Microsoft Visual Basic for Applications (VBA) · vendor n/a n/a
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.
Are you affected?
Enter the version you run. The result uses only the ranges stored on this record.
The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.
- cpe microsoft/office2003
- cpe microsoft/office2007
- cpe microsoft/office2010
- cpe microsoft/visual basic for applicationsversion unspecified
- vendor Microsoft Visual Basic for Applications (VBA)version unspecified
- vendor n/a n/aversion unspecified
How to fix CVE-2012-1854
Recommended remediation
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable. CISA due date Apr 27, 2026.
Official advisories
What to do
Three questions, each answered from this record only. Confirm the vendor advisory before you patch.
Should you patch?
CVE-2012-1854 is in the CISA known-exploited catalog, due Apr 27, 2026. Confirm Microsoft Visual Basic for Applications (VBA) against the vendor advisory and apply that fix. The CVSS score does not change the priority.
Which versions are affected?
Compare what you have installed with 2003, 2007, 2010. Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
What should an analyst verify?
CWE-426: Untrusted Search Path. EPSS 20.87%. The CISA KEV listing is the exploitation evidence. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.
Code
The project this record applies to. Exploit listings stay in References.
No public source repository is identified for this product.
Timeline
Detection, updates, and resolution for this record.
Jul 10, 2012 · Catalog
Detected
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 App
Apr 13, 2026 · CISA KEV
Known exploited
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Apr 27, 2026 · CISA KEV
Remediation due
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Jun 16, 2026 · Catalog
Updated
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 App
Sources
- CISA KEVConfirmed exploitationCVE-2012-1854
Microsoft Visual Basic for Applications (VBA) contains an insecure library loading vulnerability that could allow for remote code execution.
cisa.gov - CVE.orgVulnerability recordCVE-2012-1854
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 DL
cve.org - FIRST EPSSExploitation probabilityCVE-2012-1854
30-day exploitation probability 20.9%
first.org - NIST NVDVulnerability recordCVE-2012-1854
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 DL
nvd.nist.gov - VulnCheck KEVConfirmed exploitationCVE-2012-1854
Microsoft Visual Basic for Applications (VBA) contains an insecure library loading vulnerability that could allow for remote code execution.
vulncheck.com
References
- US Government Resource · us-cert.gov
- Mitigation · docs.microsoft.com
- Mitigation · learn.microsoft.com
- CISA note · learn.microsoft.com
- CISA note · nvd.nist.gov
- Broken Link · oval.cisecurity.org
- US Government Resource · cisa.gov
- VulnCheck exploitation evidence · cisa.gov
- VulnCheck exploitation evidence · cve.org
Freshness
Last verified in this catalog Oct 17, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.