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

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

CVE-2026-85364 is a use after free vulnerability in Windows Installer that enables authorized attackers to elevate privileges on local systems. This article covers technical details, affected versions, impact analysis, 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-85364 Overview

CVE-2026-85364 is a use-after-free vulnerability [CWE-416] in the Microsoft Windows Installer component. An authorized local attacker can exploit the flaw to elevate privileges on the affected system. Successful exploitation yields high impact to confidentiality, integrity, and availability.

The vulnerability requires local access and low privileges, but exploitation complexity is high because the attacker must win a specific race or state condition in the installer service. No user interaction is required once the attacker has local code execution.

Critical Impact

A local, low-privileged attacker who successfully exploits CVE-2026-85364 can elevate privileges on affected Windows hosts, enabling full system compromise.

Affected Products

  • Microsoft Windows Installer (msiexec service component)
  • Supported Windows client and server editions covered by the Microsoft advisory
  • Refer to the Microsoft Security Update Guidance for the authoritative build list

Discovery Timeline

  • 2026-10-13 - CVE-2026-85364 published to the National Vulnerability Database
  • 2026-10-13 - Last updated in NVD database

Technical Details for CVE-2026-85364

Vulnerability Analysis

The flaw is a use-after-free condition inside Windows Installer. Windows Installer runs as a privileged service (msiexec.exe) and processes .msi packages, transforms, and custom actions on behalf of callers. When the service releases a heap object but retains a dangling reference, subsequent operations can reuse that freed memory region.

An authorized local attacker can trigger the vulnerable code path, reclaim the freed allocation with attacker-controlled data, and force the privileged process to operate on that memory. The outcome is code execution or object manipulation in the context of the installer service, which runs with elevated privileges.

The high attack complexity reflected in the advisory indicates reliable exploitation depends on timing, allocation grooming, or specific installer state. Even so, memory corruption primitives of this class have historically been weaponized into reliable local privilege escalation chains.

Root Cause

The root cause is improper lifetime management of a heap-allocated object within Windows Installer, classified as [CWE-416] Use After Free. A reference to a freed object remains reachable and is dereferenced during a later installer operation, enabling corruption of a privileged process's state.

Attack Vector

Exploitation requires local access with low privileges. An attacker with the ability to invoke installer APIs or interact with a Windows Installer workflow can drive the service into the vulnerable state. No user interaction is required. The scope remains unchanged, meaning the impact is contained to the installer process context, which is already privileged on the local host.

For technical specifics on affected code paths and patched builds, consult the Microsoft Security Update Guidance.

Detection Methods for CVE-2026-85364

Indicators of Compromise

  • Unexpected crashes or Windows Error Reporting entries referencing msiexec.exe or msi.dll
  • msiexec.exe spawning command interpreters such as cmd.exe or powershell.exe with SYSTEM privileges outside normal install workflows
  • Creation or modification of files in protected directories by installer-related processes without a corresponding authorized package
  • New services, scheduled tasks, or persistence artifacts created immediately after installer activity by non-administrative users

Detection Strategies

  • Hunt for process trees where a low-privileged user triggers msiexec.exe followed by SYSTEM-level child processes writing to disk or modifying the registry
  • Alert on anomalous invocation patterns of Windows Installer APIs from unsigned or user-writable binaries
  • Correlate crash telemetry on msiexec.exe with subsequent privilege-sensitive activity by the same user context

Monitoring Recommendations

  • Collect Sysmon process creation, image load, and file create events for the installer process family and forward them to a centralized analytics pipeline
  • Enable PowerShell script block logging and Windows Installer logging (MsiLogging policy) to capture package execution context
  • Track EPSS and vendor advisory updates for CVE-2026-85364 and prioritize hosts where local accounts are shared across users

How to Mitigate CVE-2026-85364

Immediate Actions Required

  • Apply the Microsoft security update referenced in the Microsoft Security Update Guidance to all affected Windows systems
  • Prioritize patching of multi-user workstations, jump hosts, and systems where untrusted users can execute code locally
  • Audit local accounts and remove unnecessary interactive logon rights to reduce the pool of potential attackers

Patch Information

Microsoft has issued fixes through its monthly security update channel. The authoritative list of patched builds for each affected Windows SKU is published in the Microsoft Security Update Guidance. Deploy updates through Windows Update, WSUS, Microsoft Update Catalog, or your configuration management platform.

Workarounds

  • Restrict the AlwaysInstallElevated policy to ensure it is disabled in both HKLM and HKCU scopes
  • Limit which users can run .msi packages by applying AppLocker or Windows Defender Application Control rules
  • Monitor and constrain execution of installer packages from user-writable paths such as %TEMP% and user profile directories until patches are deployed
bash
# Verify AlwaysInstallElevated is disabled (should return 0 or key not present)
reg query HKLM\Software\Policies\Microsoft\Windows\Installer /v AlwaysInstallElevated
reg query HKCU\Software\Policies\Microsoft\Windows\Installer /v AlwaysInstallElevated

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.