Heap buffer overflow in Microsoft Office Excel allows local code execution

Note: This data is for reference and cybersecurity research purposes only.CyStack advises users not to use this information for unlawful purposes.

What is CVE-2026-81960?

CVE-2026-81960 is a vulnerability classified as Heap-based Buffer Overflow, affecting Microsoft 365 Apps for Enterprise (affected versions: 16.0.1 – < 16.0.20326.20138), Microsoft Excel 2016 (affected versions: 16.0.0.0 – < 16.0.5569.1003), Microsoft Office 2016 (affected versions: 16.0.0 – < 16.0.5569.1003), and 6 more products. This vulnerability is rated High, with a CVSS score of 7.8. Current sources do not report this vulnerability as exploited.

Overview

Original source data

Heap-based buffer overflow in Microsoft Office Excel allows an unauthorized attacker to execute code locally.

Affected products and scope

In scope are the Excel components of Microsoft 365 Apps for Enterprise, Microsoft Excel 2016, Microsoft Office 2016, Microsoft Office 2019, Microsoft Office LTSC 2021, Microsoft Office LTSC 2024, and the Mac editions of Office 365 and Office LTSC. Any build below the fixed level for its product line is affected. The record lists no other Microsoft products and states no unaffected configurations, so treat anything outside this list as not covered by this entry rather than as confirmed safe.

Technical details

The weakness is a heap-based buffer overflow, classified as CWE-122. Excel allocates memory on the heap to hold data while parsing an input document. When a crafted file supplies more data than the allocation was sized for, the write runs past the end of the buffer and overwrites adjacent heap structures, including pointers and metadata that the process later uses. The corrupted state can be shaped into control of execution. The untrusted input is the document itself, opened in Excel. The record does not name the affected parser, file format, or which field triggers the overflow, and no further technical detail is public.

Exploitability

The attack vector is local: the attacker does not reach Excel over the network directly, but has to get a file onto the machine and have it opened. No privileges are required beforehand and no authentication is needed, but user interaction is required, since the victim must open the document. The record lists no known exploitation in the wild, no public exploit code, and the predicted likelihood of exploitation is low. A patch is available, so the exposure is mostly a matter of how quickly endpoints get updated.

Technical impact

An attacker gains the ability to execute arbitrary code on the machine where the file is opened, running at the privilege level of the user who opened it. Microsoft's assessment treats the effect on confidentiality, integrity and availability as serious in all three cases, so an exploit could read data, change it, or crash the application. The limits are that the attacker needs a user to open a crafted file, and the code runs as that user rather than with system or administrative rights unless the user already holds them. No exploitation of this issue has been reported.

Business impact

A crafted document that reaches an employee and gets opened can turn into code execution on that employee's workstation. From there an attacker reaches whatever that account can reach: local files, mapped network shares, saved sessions, mail, and internal systems the user is trusted to use. The endpoint becomes a place to work from rather than a single isolated incident, which is how a document-borne bug turns into a wider intrusion. Cleaning up usually means rebuilding the machine and rotating any credentials that were exposed, and if regulated or personal data was on it, the reporting obligations that follow. Desktop engineering, email and collaboration administrators, service desk teams, and anyone who lets Excel open files from outside the organisation should care.

Remediation

Apply Microsoft's update for the affected Office and Excel products; the vendor advisory attached to this record carries the fixed builds for each product line and is the authoritative source for which update applies to a given installation. Because the trigger is a document, reducing exposure in the meantime means keeping the usual controls around files arriving from outside the organisation, but the record describes no supported workaround, so patching is the action. Track patch compliance for Microsoft 365 Apps separately from the volume-licensed Office releases, since they update on different cadences.

Detection

Look for Excel processes spawning child processes such as scripting hosts or command shells, which normal spreadsheet use does not do, and for Office applications crashing or restarting repeatedly on the same user or the same file. Endpoint telemetry that records process ancestry and file writes after a document is opened is the most useful source. Mail and collaboration gateways can be checked for documents arriving from external senders, and file reputation or sandbox verdicts on those attachments are worth reviewing. Confirm the installed build of each Office product against the fixed builds in the vendor advisory, since an unpatched endpoint is the exposure that matters most here.

Sources (7)
Learn more

Run an in-depth assessment with complete web risk management

CyStack VulnScan continuously discovers assets, validates vulnerabilities, and helps security teams prioritize remediation across the organization.