CVE-2026-40366: CWE-416: Use After Free in Microsoft Microsoft 365 Apps for Enterprise
Access of resource using incompatible type ('type confusion') in Microsoft Office Word allows an unauthorized attacker to execute code locally.
AI Analysis
Technical Summary
This vulnerability (CVE-2026-40366) is a use-after-free issue categorized under CWE-416 in Microsoft Office Word within Microsoft 365 Apps for Enterprise. It arises from accessing a resource using an incompatible type, leading to type confusion. This flaw allows an unauthorized attacker to execute code locally on the affected system. The CVSS 3.1 score is 8.4 (high), indicating significant impact on confidentiality, integrity, and availability. Microsoft has published an official fix and manages remediation for this cloud service. No known exploits are reported in the wild at this time.
Potential Impact
Successful exploitation of this vulnerability could allow an unauthorized attacker to execute arbitrary code locally, potentially leading to full compromise of the affected system's confidentiality, integrity, and availability. The high CVSS score reflects the critical nature of the impact if exploited.
Mitigation Recommendations
An official fix is available from Microsoft. Since this is a cloud-hosted service, Microsoft manages remediation server-side. Users and administrators should apply the official update as directed in the Microsoft advisory at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-40366 to mitigate this vulnerability.
CVE-2026-40366: CWE-416: Use After Free in Microsoft Microsoft 365 Apps for Enterprise
Description
Access of resource using incompatible type ('type confusion') in Microsoft Office Word allows an unauthorized attacker to execute code locally.
CVSS v3.1
Score 8.4high
Affected software
Microsoft
Microsoft 365 Apps for Enterprise
Microsoft
Microsoft Office 2019
Microsoft
Microsoft Office LTSC 2021
Microsoft
Microsoft Office LTSC 2024
Microsoft
Microsoft Office LTSC for Mac 2021
Microsoft
Microsoft Office LTSC for Mac 2024
Microsoft
Microsoft Word 2016
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability (CVE-2026-40366) is a use-after-free issue categorized under CWE-416 in Microsoft Office Word within Microsoft 365 Apps for Enterprise. It arises from accessing a resource using an incompatible type, leading to type confusion. This flaw allows an unauthorized attacker to execute code locally on the affected system. The CVSS 3.1 score is 8.4 (high), indicating significant impact on confidentiality, integrity, and availability. Microsoft has published an official fix and manages remediation for this cloud service. No known exploits are reported in the wild at this time.
Potential Impact
Successful exploitation of this vulnerability could allow an unauthorized attacker to execute arbitrary code locally, potentially leading to full compromise of the affected system's confidentiality, integrity, and availability. The high CVSS score reflects the critical nature of the impact if exploited.
Mitigation Recommendations
An official fix is available from Microsoft. Since this is a cloud-hosted service, Microsoft manages remediation server-side. Users and administrators should apply the official update as directed in the Microsoft advisory at https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-40366 to mitigate this vulnerability.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- microsoft
- Date Reserved
- 2026-04-11T23:06:15.614Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- official-fix
- Is Cloud Service
- true
- Vendor Advisory Urls
- [{"url":"https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-40366","vendor":"Microsoft"}]
Threat ID: 6a036550cbff5d861008c8f5
Added to database: 05/12/2026, 17:37:20 UTC
Last enriched: 08/11/2026, 16:44:33 UTC
Last updated: 09/14/2026, 22:01:33 UTC
Views: 65
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.