CVE-2026-40362
published 2026-05-12CVE-2026-40362: Use after free in Microsoft Office Excel allows an unauthorized attacker to execute code locally.
PriorityP347high7.8CVSS 3.1
AVLACLPRNUIRSUCHIHAH
EPSS
0.32%
24.4th percentile
Use after free in Microsoft Office Excel allows an unauthorized attacker to execute code locally.
Affected
13 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| microsoft | excel | — | — |
| microsoft | microsoft_365_apps_for_enterprise | >= 16.0.1 < https://aka.ms/OfficeSecurityReleases | https://aka.ms/OfficeSecurityReleases |
| microsoft | microsoft_excel_2016 | >= 16.0.0.0 < 16.0.5552.1000 | 16.0.5552.1000 |
| microsoft | microsoft_office_2019 | >= 19.0.0 < https://aka.ms/OfficeSecurityReleases | https://aka.ms/OfficeSecurityReleases |
| microsoft | microsoft_office_ltsc_2021 | >= 16.0.1 < https://aka.ms/OfficeSecurityReleases | https://aka.ms/OfficeSecurityReleases |
| microsoft | microsoft_office_ltsc_2024 | >= 16.0.0 < https://aka.ms/OfficeSecurityReleases | https://aka.ms/OfficeSecurityReleases |
| microsoft | microsoft_office_ltsc_for_mac_2021 | >= 16.0.1 < 16.109.26051019 | 16.109.26051019 |
| microsoft | microsoft_office_ltsc_for_mac_2024 | >= 16.0.0 < 16.109.26051019 | 16.109.26051019 |
| microsoft | office | — | — |
| microsoft | office_long_term_servicing_channel | — | — |
| microsoft | office_long_term_servicing_channel | — | — |
| microsoft | office_online_server | < 16.0.10417.20128 | 16.0.10417.20128 |
| microsoft | office_online_server | >= 16.0.0.0 < 16.0.10417.20128 | 16.0.10417.20128 |
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-qxwr-vc23-g88h: Heap-based buffer overflow in Microsoft Office Excel allows an unauthorized attacker to execute code locally
ghsa_unreviewed·2026-05-12
CVE-2026-40362 [HIGH] CWE-122 GHSA-qxwr-vc23-g88h: Heap-based buffer overflow in Microsoft Office Excel allows an unauthorized attacker to execute code locally
Heap-based buffer overflow in Microsoft Office Excel allows an unauthorized attacker to execute code locally.
VulDB
Microsoft Excel up to Office Online Server heap-based overflow
vuldb·2026-05-12
CVE-2026-40362 [CRITICAL] Microsoft Excel up to Office Online Server heap-based overflow
A vulnerability, which was classified as critical, has been found in Microsoft Excel up to Office Online Server. Affected is an unknown function. This manipulation causes heap-based buffer overflow.
This vulnerability is registered as CVE-2026-40362. Remote exploitation of the attack is possible. No exploit is available.
It is advisable to upgrade the affected component.
No detection rules found.
No public exploits indexed.
2026-05-12
Published