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-40366 Microsoft Word Remote Code Execution Vulnerability New On this page ๎ CVE-2026-40366 ๎ Subscribe RSS PowerShell ๎ฅ API ๎ฅ CSAF Security Vulnerability Released: May 12, 2026 Assigning CNA Microsoft CVE.org link CVE-2026-40366 ๏ Impact Remote Code Execution Max Severity Critical Weakness CWE-416: Use After Free CVSS Source Microsoft Vector String CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C Metrics CVSS:3.1 8.4 / 7.3 ๎ฅ Base score metrics: 8.4 / Temporal score metrics: 7.3 ๎ฅฎ Expand all ๎ฅฐ Collapse all Metric Value ๎ฃฌ ๎ฅด Base score metrics(8) Attack Vector Local Attack Complexity Low Privileges Required None User Interaction None 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 Use after free in Microsoft Office Word 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 Is the Preview Pane an attack vector for this vulnerability? Yes, the Preview Pane is 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. This means an attacker or victim needs to execute code from the local machine to exploit the vulnerability. Acknowledgements tiebuchen 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 Word 2016 (64-bit edition) - Remote Code Execution Critical Title: Knowledge Base Articles for Microsoft Word 2016 (64-bit edition), Content:, 1 link 5002858 ๏ Title: Download Security Update for Microsoft Word 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 Word 2016 (32-bit edition) - Remote Code Execution Critical Title: Knowledge Base Articles for Microsoft Word 2016 (32-bit edition), Content:, 1 link 5002858 ๏ Title: Download Security Update for Microsoft Word 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 Critical 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 Critical 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 Critical 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 Critical 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 Critical 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 Critical 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 Critical 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 Critical 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 Critical 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 Critical 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 All results loaded Loaded all 12 rows Disclaimer The information provided in the Microsoft Knowledge Base is provided "as is" without warranty of any kind. Microsoft disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. In no event shall Microsoft Corporation or its suppliers be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages, even if Microsoft Corporation or its suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation may not apply. Revisions version revisionDate description 1.0 May 12, 2026 Information published. ๎น How satisfied are you with the MSRC Security Update Guide? Rating ๎ Broken ๎ช Bad ๎ Below average ๎ช Average ๎ฎ Great! ๎ข Your Privacy Choices Consumer Health Privacy
CVE-2026-40366 is a critical (CVSS 8.4) use-after-free vulnerability in Microsoft Word that allows local, unauthorized attackers to achieve remote code execution, with the Preview Pane confirmed as an attack vector. The vulnerability affects Microsoft Word 2016 (64-bit edition), and Microsoft has released a security update addressing it as of May 12, 2026.