CVE-2026-40358: Heap-based buffer overflow in Microsoft Office allows an unauthorized attacker to execute code locally.
42
This month
HIGH 8.4WATCHLISTMITIGATEDOWNGRADEDOWNGRADE
CVE-2026-40358 is a high-severity flaw (CVSS 8.4) affecting 365 apps, office, office long term servicing channel. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Heap-based buffer overflow in Microsoft Office allows an unauthorized attacker to execute code locally.
Why this priority
High severity
On your watchlist
No fix is published yet: follow the downgrade or mitigation steps.
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official sourceNVD · CVE Program · Report a problem with this page Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-40358?
365 apps: mitigate or apply the listed mitigation; office: downgrade or apply the listed mitigation; office long term servicing channel: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2026-40358 being exploited?
CVE-2026-40358 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-40358 affect?
CVE-2026-40358 affects 365 apps, office, office long term servicing channel. Severity is high (CVSS 8.4). Heap-based buffer overflow in Microsoft Office allows an unauthorized attacker to execute code locally.