CVE-2012-1854Microsoft Visual Basic for Applications (VBA)
Insecure Library Loading in Microsoft Visual Basic for Applications
High 7.8 KEV High EPSS
- Priority
- 49
- CVSS 3.1
- 7.8
- EPSS
- 20.9% probability of exploitation in 30 days · percentile 98
- Auth required
- Yes
- In KEV since
- Apr 13, 2026
- CISA deadline
- Apr 27, 2026
- Ransomware use
- Unknown
- Published
- Jul 10, 2012
- Updated
- Jun 16, 2026
- Category
- Application · Windows
- Weakness (CWE)
- CWE-426
- SSVC (CISA)
- Exploitation: active · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
What happens
Untrusted search path vulnerability in VBE6.dll affecting Microsoft Office 2003, 2007, and 2010, as well as Visual Basic for Applications. A local attacker can execute code with elevated privileges by placing a malicious DLL in the current working directory. CISA confirmed this vulnerability has been actively exploited.
AI-generated summary (Claude) based on NVD and CISA data. Not reviewed yet: check the details in the vendor advisory.
Show the original NVD text
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.
Exploitation confirmed by CISA
Microsoft Visual Basic for Applications (VBA) contains an insecure library loading vulnerability that could allow for remote code execution.
Action required by CISA: 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 to do
Mitigations only
Apply mitigations provided by Microsoft in bulletin MS12-046. Avoid opening Office files from untrusted directories or those containing suspicious DLL files.
Vendor advisory · learn.microsoft.com ↗
AI-generated from public data; not reviewed.
- Apply the vendor's security update for Visual Basic for Applications (VBA).
- CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was April 27, 2026.
- Check logs for signs of earlier exploitation.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| microsoft | office | 2003 |
| microsoft | office | 2007 |
| microsoft | office | 2007 |
| microsoft | office | 2010 |
| microsoft | office | 2010 |
| microsoft | office | 2010 |
| microsoft | office | 2010 |
| microsoft | visual_basic_for_applications | all |
| microsoft | visual_basic_for_applications_sdk | all |
Official sources
References
Links published by the sources. Open them with care.
- www.us-cert.gov US Government Resource
- docs.microsoft.com Mitigation Vendor Advisory
- oval.cisecurity.org Broken Link
- learn.microsoft.com Mitigation Vendor Advisory
- www.cisa.gov US Government Resource