We use optional cookies to improve your experience on our websites, such as through social media connections, and to display personalized advertising based on your online activity. If you reject optional cookies, only cookies necessary to provide you the services will be used. You may change your selection by clicking โManage Cookiesโ at the bottom of the page. Privacy Statement Third-Party Cookies Accept Reject Manage cookies MSRC ๎ฌ Customer Guidance ๎ฌ Security Update Guide ๎ฌ Vulnerabilities ๎ฌ CVE-2026-40362 Microsoft Excel Remote Code Execution Vulnerability New On this page ๎ CVE-2026-40362 ๎ Subscribe RSS PowerShell ๎ฅ API ๎ฅ CSAF Security Vulnerability Released: May 12, 2026 Assigning CNA Microsoft CVE.org link CVE-2026-40362 ๏ Impact Remote Code Execution Max Severity Important Weakness CWE-122: Heap-based Buffer Overflow CVSS Source Microsoft Vector String CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C Metrics CVSS:3.1 7.8 / 6.8 ๎ฅ Base score metrics: 7.8 / Temporal score metrics: 6.8 ๎ฅฎ Expand all ๎ฅฐ Collapse all Metric Value ๎ฃฌ ๎ฅด Base score metrics(8) Attack Vector Local Attack Complexity Low Privileges Required None User Interaction Required Scope Unchanged Confidentiality High Integrity High Availability High ๎ฃฌ ๎ฅด Temporal score metrics(3) Exploit Code Maturity Unproven Remediation Level Official Fix Report Confidence Confirmed Please see Common Vulnerability Scoring System for more information on the definition of these metrics. Executive Summary Heap-based buffer overflow in Microsoft Office Excel allows an unauthorized attacker to execute code locally. Exploitability The following table provides an exploitability assessment for this vulnerability at the time of original publication. Publicly disclosed No Exploited No Exploitability assessment Exploitation Less Likely FAQ According to the CVSS metric, user interaction is required (UI:R). What interaction would the user have to do? An attacker must send a user a malicious Office file and convince them to open it. Is the Preview Pane an attack vector for this vulnerability? No, the Preview Pane is not an attack vector. According to the CVSS metric, the attack vector is local (AV:L). Why does the CVE title indicate that this is a remote code execution? The word Remote in the title refers to the location of the attacker. This type of exploit is sometimes referred to as Arbitrary Code Execution (ACE). The attack itself is carried out locally. For example, when the score indicates that the Attack Vector is Local and User Interaction is Required, this could describe an exploit in which an attacker, through social engineering, convinces a victim to download and open a specially crafted file from a website which leads to a local attack on their computer. Acknowledgements Jeongmin Choi with S2W https://s2w.inc/ko Haein Lee with KAIST Hacking Lab Microsoft recognizes the efforts of those in the security community who help us protect customers through coordinated vulnerability disclosure. See Acknowledgements for more information. Security Updates To determine the support lifecycle for your software, see the Microsoft Support Lifecycle. Release date Descending ๎ Edit columns ๎ข Download ๎ Filters ๎ก Product Family ๎ Max Severity ๎ Impact ๎ Platform ๎ ๎ข Clear Release date ๎นฉ Product Platform Impact Max Severity Article Download Build Number Assigning CNA Customer Action Required Title: Release date, Content: May 12, 2026 Microsoft Excel 2016 (64-bit edition) - Remote Code Execution Important Title: Knowledge Base Articles for Microsoft Excel 2016 (64-bit edition), Content:, 1 link 5002865 ๏ Title: Download Security Update for Microsoft Excel 2016 (64-bit edition), Content:, 1 link Security Update ๏ Title: Build numbers, Content: 16.0.5552.1000 Title: Assigning CNA, Content: Microsoft Title: Customer action required, Content: Required Title: Release date, Content: May 12, 2026 Microsoft Excel 2016 (32-bit edition) - Remote Code Execution Important Title: Knowledge Base Articles for Microsoft Excel 2016 (32-bit edition), Content:, 1 link 5002865 ๏ Title: Download Security Update for Microsoft Excel 2016 (32-bit edition), Content:, 1 link Security Update ๏ Title: Build numbers, Content: 16.0.5552.1000 Title: Assigning CNA, Content: Microsoft Title: Customer action required, Content: Required Title: Release date, Content: May 12, 2026 Microsoft Office LTSC for Mac 2024 - Remote Code Execution Important Title: Knowledge Base Articles for Microsoft Office LTSC for Mac 2024, Content:, 1 link Release Notes ๏ Title: Download Security Update for Microsoft Office LTSC for Mac 2024, Content:, 1 link Security Update ๏ Title: Build numbers, Content: 16.109.26051019 Title: Assigning CNA, Content: Microsoft Title: Customer action required, Content: Required Title: Release date, Content: May 12, 2026 Microsoft Office LTSC 2024 for 64-bit editions - Remote Code Execution Important Title: Knowledge Base Articles for Microsoft Office LTSC 2024 for 64-bit editions, Content:, 1 link Click to Run ๏ Title: Download Security Update for Microsoft Office LTSC 2024 for 64-bit editions, Content:, 1 link Security Update Title: Build numbers, Content: https://aka.ms/OfficeSecurityReleases Title: Assigning CNA, Content: Microsoft Title: Customer action required, Content: Required Title: Release date, Content: May 12, 2026 Microsoft Office LTSC 2024 for 32-bit editions - Remote Code Execution Important Title: Knowledge Base Articles for Microsoft Office LTSC 2024 for 32-bit editions, Content:, 1 link Click to Run ๏ Title: Download Security Update for Microsoft Office LTSC 2024 for 32-bit editions, Content:, 1 link Security Update Title: Build numbers, Content: https://aka.ms/OfficeSecurityReleases Title: Assigning CNA, Content: Microsoft Title: Customer action required, Content: Required Title: Release date, Content: May 12, 2026 Microsoft Office LTSC 2021 for 32-bit editions - Remote Code Execution Important Title: Knowledge Base Articles for Microsoft Office LTSC 2021 for 32-bit editions, Content:, 1 link Click to Run ๏ Title: Download Security Update for Microsoft Office LTSC 2021 for 32-bit editions, Content:, 1 link Security Update Title: Build numbers, Content: https://aka.ms/OfficeSecurityReleases Title: Assigning CNA, Content: Microsoft Title: Customer action required, Content: Required Title: Release date, Content: May 12, 2026 Microsoft Office LTSC 2021 for 64-bit editions - Remote Code Execution Important Title: Knowledge Base Articles for Microsoft Office LTSC 2021 for 64-bit editions, Content:, 1 link Click to Run ๏ Title: Download Security Update for Microsoft Office LTSC 2021 for 64-bit editions, Content:, 1 link Security Update Title: Build numbers, Content: https://aka.ms/OfficeSecurityReleases Title: Assigning CNA, Content: Microsoft Title: Customer action required, Content: Required Title: Release date, Content: May 12, 2026 Microsoft Office LTSC for Mac 2021 - Remote Code Execution Important Title: Knowledge Base Articles for Microsoft Office LTSC for Mac 2021, Content:, 1 link Release Notes ๏ Title: Download Security Update for Microsoft Office LTSC for Mac 2021, Content:, 1 link Security Update ๏ Title: Build numbers, Content: 16.109.26051019 Title: Assigning CNA, Content: Microsoft Title: Customer action required, Content: Required Title: Release date, Content: May 12, 2026 Microsoft 365 Apps for Enterprise for 64-bit Systems - Remote Code Execution Important Title: Knowledge Base Articles for Microsoft 365 Apps for Enterprise for 64-bit Systems, Content:, 1 link Click to Run ๏ Title: Download Security Update for Microsoft 365 Apps for Enterprise for 64-bit Systems, Content:, 1 link Security Update Title: Build numbers, Content: https://aka.ms/OfficeSecurityReleases Title: Assigning CNA, Content: Microsoft Title: Customer action required, Content: Required Title: Release date, Content: May 12, 2026 Microsoft 365 Apps for Enterprise for 32-bit Systems - Remote Code Execution Important Title: Knowledge Base Articles for Microsoft 365 Apps for Enterprise for 32-bit Systems, Content:, 1 link Click to Run ๏ Title: Download Security Update for Microsoft 365 Apps for Enterprise for 32-bit Systems, Content:, 1 link Security Update Title: Build numbers, Content: https://aka.ms/OfficeSecurityReleases Title: Assigning CNA, Content: Microsoft Title: Customer action required, Content: Required Title: Release date, Content: May 12, 2026 Microsoft Office 2019 for 64-bit editions - Remote Code Execution Important Title: Knowledge Base Articles for Microsoft Office 2019 for 64-bit editions, Content:, 1 link Click to Run ๏ Title: Download Security Update for Microsoft Office 2019 for 64-bit editions, Content:, 1 link Security Update Title: Build numbers, Content: https://aka.ms/OfficeSecurityReleases Title: Assigning CNA, Content: Microsoft Title: Customer action required, Content: Required Title: Release date, Content: May 12, 2026 Microsoft Office 2019 for 32-bit editions - Remote Code Execution Important Title: Knowledge Base Articles for Microsoft Office 2019 for 32-bit editions, Content:, 1 link Click to Run ๏ Title: Download Security Update for Microsoft Office 2019 for 32-bit editions, Content:, 1 link Security Update Title: Build numbers, Content: https://aka.ms/OfficeSecurityReleases Title: Assigning CNA, Content: Microsoft Title: Customer action required, Content: Required Title: Release date, Content: May 12, 2026 Office Online Server - Remote Code Execution Important Title: Knowledge Base Articles for Office Online Server, Content:, 1 link 5002871 ๏ Title: Download Security Update for Office Online Server, Content:, 1 link Security Update ๏ Title: Build numbers, Content: 16.0.10417.20128 Title: Assigning CNA, Content: Microsoft Title: Customer action required, Content: Required All results loaded Loaded all 13 rows Disclaimer The information provided in the Microsoft Knowledge Base is provided "as is" without warranty of any kind. Microsoft disclaims all warranties, either
CVE-2026-40362 is an Important-severity heap-based buffer overflow in Microsoft Excel that allows remote code execution when a user opens a specially crafted malicious file, requiring user interaction (CVSS 7.8). The attack vector is local, and exploitation is assessed as less likely. No specific affected or patched versions are detailed in the provided text.