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-87711 Overview
CVE-2026-87711 is a stack-based buffer overflow [CWE-121] in Windows Installer that enables local privilege escalation. An authorized attacker with low privileges can corrupt stack memory within the Installer service and gain elevated rights on the target host. Microsoft published the advisory on October 13, 2026, and the issue carries a CVSS 3.1 base score of 7.8.
The flaw does not require user interaction and executes entirely in a local context. Successful exploitation grants full confidentiality, integrity, and availability impact on the affected system. Attackers typically chain this class of weakness after initial access to escalate from a standard user context to SYSTEM.
Critical Impact
Local attackers with valid credentials can gain SYSTEM-level privileges on Windows hosts by triggering a stack overflow in the Windows Installer service.
Affected Products
- Microsoft Windows (Windows Installer component) — refer to the Microsoft advisory for the full build matrix
- Supported Windows client editions serviced by Microsoft's October 2026 security updates
- Supported Windows Server editions serviced by Microsoft's October 2026 security updates
Discovery Timeline
- 2026-10-13 - CVE-2026-87711 published to the National Vulnerability Database
- 2026-10-13 - Last updated in NVD database
Technical Details for CVE-2026-87711
Vulnerability Analysis
The vulnerability resides in the Windows Installer service, which processes .msi packages and related installer resources under elevated privileges. A stack-based buffer overflow [CWE-121] occurs when the service copies attacker-influenced data into a fixed-size stack buffer without validating length. Overrunning the buffer corrupts adjacent stack frames, including saved return addresses and local control data.
Because Windows Installer runs with SYSTEM privileges when executing installation transactions, memory corruption in this code path translates directly into local privilege escalation. The attack vector is local (AV:L), requires low privileges (PR:L), and needs no user interaction. Successful exploitation yields high impact across confidentiality, integrity, and availability.
The Exploit Prediction Scoring System (EPSS) rates near-term exploitation probability as low at the time of publication. Historically, Windows Installer elevation-of-privilege flaws attract rapid proof-of-concept development because they are useful in post-compromise toolchains used by ransomware and commodity malware operators.
Root Cause
The root cause is insufficient bounds checking on data written to a stack buffer inside the Windows Installer service. When input size exceeds the destination buffer, the write crosses buffer boundaries and overwrites saved return addresses or structured exception handler records on the stack.
Attack Vector
An authenticated local attacker crafts a malicious installer package or triggers an installer code path that supplies oversized input to the vulnerable routine. The attacker executes the trigger under their own user context. The Installer service processes the input under elevated privileges, and the resulting memory corruption redirects execution to attacker-controlled code running as SYSTEM.
No verified public proof-of-concept code is available at this time. For technical specifics, consult the Microsoft Vulnerability Advisory CVE-2026-87711.
Detection Methods for CVE-2026-87711
Indicators of Compromise
- Unexpected msiexec.exe child processes spawning command interpreters such as cmd.exe or powershell.exe under the SYSTEM account
- Windows Installer service (msiserver) crash events in the Application log referencing access violations or stack corruption
- Creation or execution of .msi, .msp, or transform (.mst) files from user-writable directories such as %TEMP% or %APPDATA%
Detection Strategies
- Hunt for installer-driven privilege transitions where a low-privileged user initiates an install that results in SYSTEM-level process creation or token manipulation
- Alert on Windows Installer service crashes correlated with recent installer activity by non-administrative users
- Baseline normal msiexec.exe behavior in the environment and flag deviations such as outbound network connections or persistence modifications
Monitoring Recommendations
- Collect Sysmon Event ID 1 (process creation) and Event ID 11 (file create) for msiexec.exe and child processes
- Forward Windows Installer operational logs and Application crash events to a central SIEM or data lake for correlation
- Monitor privilege-escalation telemetry such as token duplication, SeDebugPrivilege use, and new service installations following installer activity
How to Mitigate CVE-2026-87711
Immediate Actions Required
- Apply the Microsoft security update for CVE-2026-87711 to all affected Windows client and server systems as documented in the Microsoft Vulnerability Advisory CVE-2026-87711
- Prioritize patching on multi-user systems, jump hosts, Remote Desktop Services servers, and virtual desktop infrastructure where local users are common
- Audit which standard users can execute installer packages and restrict installer execution to administrators where feasible
Patch Information
Microsoft addressed CVE-2026-87711 in the October 2026 security updates. Deploy the cumulative update that corresponds to the Windows build in use. Refer to the official Microsoft Security Response Center guidance for the exact KB article numbers and supported product matrix.
Workarounds
- Set the Group Policy Windows Installer → Disable Windows Installer to For non-managed apps only to limit which packages standard users can install
- Enforce AlwaysInstallElevated is set to 0 in both HKLM and HKCU policy hives to prevent installer packages from running with elevated privileges by default
- Use application control (Windows Defender Application Control or AppLocker) to allow only signed, approved installer packages
# Verify AlwaysInstallElevated is disabled (both values must return 0)
reg query "HKLM\Software\Policies\Microsoft\Windows\Installer" /v AlwaysInstallElevated
reg query "HKCU\Software\Policies\Microsoft\Windows\Installer" /v AlwaysInstallElevated
# Enforce disabled state via policy
reg add "HKLM\Software\Policies\Microsoft\Windows\Installer" /v AlwaysInstallElevated /t REG_DWORD /d 0 /f
reg add "HKCU\Software\Policies\Microsoft\Windows\Installer" /v AlwaysInstallElevated /t REG_DWORD /d 0 /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

