CVE-2026-40358

High

Description

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

SeverityHigh
CVSS8.4
Exploit probability—
ProductMicrosoft Office
PublishedMay 12, 2026
First seenMay 12, 2026

How to fix

Affected products

ProductAffected versionsFixed in
microsoft office2016, 2019—
microsoft 365_appsNo range specified—
microsoft office_long_term_servicing_channel2021, 2024—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-40358 · Microsoft Office · Dark Radar