CVE-2012-1661: Arbitrary VBA Code Execution in ESRI ArcMap and ArcGIS via Malicious MXD File
- Vendor
- Environmental Systems Research Institute
A vulnerability in ESRI ArcMap 9 and ArcGIS 10.0.2.3200 and earlier allows user-assisted remote attackers to execute arbitrary VBA code. The software fails to properly prompt users before executing embedded VBA macros in map (.mxd) files, enabling attackers to craft malicious MXD files that execute code when opened.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows attackers to execute arbitrary VBA code on the victim's system with the privileges of the user running ArcMap or ArcGIS. This can lead to compromise of system integrity, confidentiality, and availability, depending on the payload of the macro.
Mitigation
If you can’t patch tonight, do this now.
Users should avoid opening untrusted or unexpected MXD files, especially those received via email or downloaded from unverified sources. Disabling macro execution or restricting macro permissions in the application may also mitigate the risk.
Remediation
Patch, then assume compromise.
Upgrade to a version of ESRI ArcMap or ArcGIS that properly prompts users before executing embedded VBA macros. Apply any patches or updates provided by ESRI that address this vulnerability.
Exploits
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2012-1661 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2012-1661 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2012-1661?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2012-1661.
- Is there a patch for CVE-2012-1661?
- Upgrade to a version of ESRI ArcMap or ArcGIS that properly prompts users before executing embedded VBA macros. Apply any patches or updates provided by ESRI that address this vulnerability.
- What products are affected by CVE-2012-1661?
- Environmental Systems Research Institute Arcmap.
- How severe is CVE-2012-1661?
- CVE-2012-1661 has a CVSS v2 score of 9.3 (Critical) and an EPSS score of 24.2% (98th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.