Skip to main content
Vulnerability Database/CVE-2026-87700

CVE-2026-87700: Windows Installer Use After Free Vulnerability

CVE-2026-87700 is a use after free vulnerability in Windows Installer that enables authorized attackers to elevate privileges locally. This article covers technical details, affected versions, security impact, and mitigation strategies.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-87700 Overview

CVE-2026-87700 is a use-after-free vulnerability [CWE-416] in Microsoft Windows Installer. An authenticated local attacker can exploit improper memory handling to elevate privileges on an affected system. Successful exploitation grants the attacker control over confidentiality, integrity, and availability of the target host.

The flaw requires local access and low-privilege authentication, with no user interaction. Microsoft published the advisory through the Microsoft Security Response Center (MSRC) on October 13, 2026.

Critical Impact

A local attacker with low privileges can elevate to SYSTEM-level access by triggering freed memory reuse within the Windows Installer service.

Affected Products

  • Microsoft Windows (Windows Installer component)
  • Refer to the Microsoft Security Update Guide for the full list of affected builds
  • Server and client Windows editions shipping the vulnerable Installer service

Discovery Timeline

  • 2026-10-13 - CVE-2026-87700 published to NVD
  • 2026-10-13 - Last updated in NVD database

Technical Details for CVE-2026-87700

Vulnerability Analysis

The vulnerability is a use-after-free condition within the Windows Installer service (msiexec.exe and associated libraries). Windows Installer manages software installation, modification, and removal through a privileged service running at SYSTEM. When the service releases a memory object but retains a dangling reference, subsequent operations can access freed memory and trigger controlled corruption.

An authorized attacker with local access can interact with the Installer service to drive it into the vulnerable state. Reusing the freed allocation with attacker-controlled data allows redirection of execution flow or manipulation of privileged data structures. Because Windows Installer runs with elevated rights, successful exploitation yields SYSTEM privileges.

Root Cause

The root cause is improper object lifetime management [CWE-416]. The Installer code path frees a heap object but does not clear or invalidate pointers that continue to reference it. A follow-on operation dereferences the stale pointer against memory that an attacker can reallocate and populate.

Attack Vector

Exploitation requires local access and valid low-privilege credentials. No user interaction is needed. An attacker executes a crafted sequence of Installer operations, such as triggering specific MSI package handling or component callbacks, to force the use-after-free. The attacker then races to reclaim the freed allocation with controlled content before the stale reference is dereferenced.

Refer to the Microsoft Security Update Guide for CVE-2026-87700 for component-level details.

Detection Methods for CVE-2026-87700

Indicators of Compromise

  • Unexpected msiexec.exe crashes or Windows Error Reporting entries referencing heap corruption in the Installer service
  • Creation of new privileged accounts or scheduled tasks immediately following MSI installation activity by non-administrative users
  • Low-privileged user accounts invoking msiexec.exe with unusual command-line arguments or custom action DLLs

Detection Strategies

  • Monitor process creation events (Windows Event ID 4688, Sysmon Event ID 1) for msiexec.exe spawned by standard users followed by SYSTEM-context child processes
  • Alert on Windows Installer service failures in the Application and System event logs that coincide with user-initiated install activity
  • Correlate MSI package execution with subsequent token manipulation, service creation (Event ID 7045), or privilege-assignment events (Event ID 4672)

Monitoring Recommendations

  • Baseline normal Windows Installer activity per endpoint and flag deviations in frequency or source account
  • Capture full command-line and parent-process telemetry for all msiexec.exe invocations
  • Forward Installer, Application, and Security event logs to a centralized analytics platform for cross-host correlation

How to Mitigate CVE-2026-87700

Immediate Actions Required

  • Apply the Microsoft security update referenced in the MSRC advisory for CVE-2026-87700 as soon as testing permits
  • Prioritize patching on multi-user systems, terminal servers, and shared workstations where local accounts are more prevalent
  • Audit local account membership and remove unnecessary interactive logon rights

Patch Information

Microsoft published the fix through the Security Update Guide. Administrators should obtain the applicable cumulative or security-only update for each affected Windows version from Windows Update, WSUS, or the Microsoft Update Catalog. Verify installation by confirming the updated Windows Installer binary versions after reboot.

Workarounds

  • Restrict local logon and interactive access to trusted administrators where feasible
  • Enforce AppLocker or Windows Defender Application Control policies to limit execution of untrusted MSI packages
  • Disable the AlwaysInstallElevated policy if enabled, to prevent standard users from installing packages with elevated rights
bash
# Verify AlwaysInstallElevated is disabled in both HKLM and HKCU
reg query "HKLM\Software\Policies\Microsoft\Windows\Installer" /v AlwaysInstallElevated
reg query "HKCU\Software\Policies\Microsoft\Windows\Installer" /v AlwaysInstallElevated

# If present and set to 1, remove the values
reg delete "HKLM\Software\Policies\Microsoft\Windows\Installer" /v AlwaysInstallElevated /f
reg delete "HKCU\Software\Policies\Microsoft\Windows\Installer" /v AlwaysInstallElevated /f

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.