CVE-2012-1854: Microsoft Visual Basic for Applications Insecure Library Loading Vulnerability
Yes. CVE-2012-1854 has been used in real attacks. CISA added it to its Known Exploited Vulnerabilities catalog on 13 April 2026. We found no public exploit code for it in Exploit-DB, Metasploit or Nuclei, so the attacks rely on tooling that is not openly published in those sources. EPSS puts the chance of further exploitation attempts in the next 30 days at 21.0%.
- Exploited in real attacks
- Yes. On CISA's exploited list since 13 April 2026
- Used in ransomware
- Not known
- Public exploit code
- None found in Exploit-DB, Metasploit or Nuclei
- Chance of exploitation (EPSS)
- 21.0% in the next 30 days, higher than 97.6% of scored vulnerabilities. Scored 5 December 2026
- Severity (CVSS)
- 7.8 High (version 3.1)
- Affects
- Microsoft Visual Basic for Applications (VBA)
- Type of flaw
- Untrusted search path (CWE-426)
- Published
- 10 July 2012
- US federal patch deadline
- 27 April 2026
What it is
Microsoft Visual Basic for Applications (VBA) contains an insecure library loading vulnerability that could allow for remote code execution.
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.
Description from the CVE record.
Is CVE-2012-1854 being exploited?
Yes. CISA lists a vulnerability as known exploited only when it has reliable evidence of exploitation in real attacks, and it added CVE-2012-1854 on 13 April 2026. That was 13 years after the CVE was published, so attackers are still finding unpatched systems long after the fix.
What to do
CISA's required action: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Because this flaw has already been used in attacks, patching is only half the job. If an affected system was reachable while unpatched, check it for signs of compromise before trusting it again.
How to check whether you are exposed
- Find every copy. List each place Microsoft Visual Basic for Applications (VBA) runs, including test systems and anything set up outside IT.
- Compare versions. Match what you find against the affected versions in the vendor advisory.
- Check reachability. An affected system that faces the internet is urgent; one reachable only from inside still matters once an attacker has a foothold.
HackDrill
Find out whether this is reachable in your systems.
A version number tells you a system is affected. A hacking drill tells you whether an attacker can actually get in through a flaw like this one in Visual Basic for Applications (VBA). HackDrill's AI agents attack your product, infrastructure, network and cloud the way modern attackers do, and show you the real, exploitable gaps so you can fix them first.
Other tracked vulnerabilities in Microsoft products
| CVE | What it affects | Status | EPSS | Published |
|---|---|---|---|---|
| CVE-2026-139934 | Microsoft Azure API Management (APIM) | No public exploit found | 2.8% | 3 December 2026 |
| CVE-2026-124194 | Microsoft Office | No public exploit found | 24.9% | 10 November 2026 |
| CVE-2026-96951 | Microsoft Windows | No public exploit found | 13.1% | 13 October 2026 |
| CVE-2026-65660 | Microsoft SharePoint | No public exploit found | 9.9% | 11 August 2026 |
| CVE-2026-81963 | Microsoft Windows | No public exploit found | 9.7% | 8 September 2026 |
| CVE-2026-85880 | Microsoft Windows | No public exploit found | 5.4% | 8 September 2026 |
Sources
- CVE record for CVE-2012-1854
- NVD entry
- CISA Known Exploited Vulnerabilities catalog, version 2026.12.04
- FIRST EPSS, scores dated 5 December 2026
- 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)
Machine-readable: /api/cve/CVE-2012-1854.json