draft preview · not published · notes marked "Before launch" will not appear on the live site

Home / Known exploited

CVE-2012-1854: Microsoft Visual Basic for Applications Insecure Library Loading Vulnerability

Exploited in attacks

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

  1. Find every copy. List each place Microsoft Visual Basic for Applications (VBA) runs, including test systems and anything set up outside IT.
  2. Compare versions. Match what you find against the affected versions in the vendor advisory.
  3. 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

CVEWhat it affectsStatusEPSSPublished
CVE-2026-139934Microsoft Azure API Management (APIM)No public exploit found2.8%3 December 2026
CVE-2026-124194Microsoft OfficeNo public exploit found24.9%10 November 2026
CVE-2026-96951Microsoft WindowsNo public exploit found13.1%13 October 2026
CVE-2026-65660Microsoft SharePointNo public exploit found9.9%11 August 2026
CVE-2026-81963Microsoft WindowsNo public exploit found9.7%8 September 2026
CVE-2026-85880Microsoft WindowsNo public exploit found5.4%8 September 2026

Sources

Machine-readable: /api/cve/CVE-2012-1854.json