CVE-2026-40358

published 12 May 2026 · updated 10 Aug 2026

Microsoft Office Remote Code Execution Vulnerability

8.4HighCVSS 8.4EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 365 Apps for Enterprise https://aka.ms/OfficeSecurityReleases, Office 16.0.5552.1000, Office https://aka.ms/OfficeSecurityReleases and 1 more.

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

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Microsoft365 Apps for Enterprise>=16.0.1 <https://aka.ms/OfficeSecurityReleaseshttps://aka.ms/OfficeSecurityReleases
MicrosoftOffice>=16.0.0 <16.0.5552.1000, >=19.0.0 <https://aka.ms/OfficeSecurityReleases, >=16.0.1 <https://aka.ms/OfficeSecurityReleases, >=16.0.0 <https://aka.ms/OfficeSecurityReleases, >=16.0.1 <16.109.26051019, >=16.0.0 <16.109.2605101916.0.5552.1000, https://aka.ms/OfficeSecurityReleases, 16.109.26051019

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Office, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-40358 severity on Zeptric[![CVE-2026-40358](https://zeptric.io/badge/cve/CVE-2026-40358.svg)](https://zeptric.io/cve/CVE-2026-40358)