CVE-2026-40362: Microsoft Excel Remote Code Execution Vulnerability

Published May 12, 2026
·
Updated

Microsoft Excel Remote Code Execution Vulnerability

Other sources

Use after free in Microsoft Office Excel allows an unauthorized attacker to execute code locally.

— Microsoft

Affected Software

30 affected componentsFixes available
Microsoft Excel 2016
Microsoft Excel 2016
Microsoft Office LTSC 2024 for 64-bit editions
Microsoft Office LTSC 2024 for 32-bit editions
Microsoft Office LTSC 2021 for 64-bit editions
Microsoft Office LTSC for Mac 2021
Microsoft Office LTSC for Mac 2024
Microsoft Office LTSC 2021 for 32-bit editions
Microsoft Office 2019 for 64-bit editions
Microsoft 365 Apps for Enterprise
Microsoft 365 Apps for Enterprise
Microsoft Office 2019 for 32-bit editions
Microsoft 365 Apps
Microsoft 365 Apps
Microsoft Excel=2016
Microsoft Excel=2016
Microsoft Office=2019
Microsoft Office=2019
Microsoft Office Long Term Servicing Channel=2021
Microsoft Office Long Term Servicing Channel=2021
Microsoft Office Long Term Servicing Channel Macos=2021
Microsoft Office Long Term Servicing Channel=2024
Microsoft Office Long Term Servicing Channel=2024
Microsoft Office Long Term Servicing Channel Macos=2024
Microsoft Office Online Server<16.0.10417.20128
Microsoft Excel 2016<16.0.5552.1000
16.0.5552.1000
Microsoft Excel 2016<16.0.5552.1000
16.0.5552.1000
Microsoft Office LTSC for Mac 2024<16.109.26051019
16.109.26051019
Microsoft Office LTSC for Mac 2021<16.109.26051019
16.109.26051019
Microsoft Office Online Server<16.0.10417.20128
16.0.10417.20128

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 16.0.5552.1000Patch KB5002865
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 16.109.26051019
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 16.0.10417.20128Patch KB5002871

Event History

May 12, 2026
CVE Published
via Microsoft·02:00 PM
Data Sourced
via Microsoft·02:00 PM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·02:00 PM
Affected Software
Updated
via Microsoft·02:00 PM
Description
Updated
via Microsoft·02:00 PM
Weakness
Updated
via Microsoft·02:00 PM
WeaknessAffected Software
CVE Published
via MITRE·04:59 PM
Data Sourced
via MITRE·04:59 PM
DescriptionSeverity
Data Sourced
via NVD·06:17 PM
DescriptionSeverityWeakness
May 19, 2026
Data Sourced
via NVD·06:05 PM
Affected Software
Jun 1, 2026
Updated
via NVD·07:16 PM
Description
Nov 30, 2026
Updated
via NVD·06:19 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2026-40362?

CVE-2026-40362 is classified as a critical vulnerability due to its potential for remote code execution.

2

How do I fix CVE-2026-40362?

To fix CVE-2026-40362, update to the latest version of Microsoft Excel as recommended by Microsoft.

3

What are the affected software for CVE-2026-40362?

CVE-2026-40362 affects Microsoft Office LTSC 2024, 2021, 2019, Excel 2016, and Office for Mac.

4

Can CVE-2026-40362 be exploited remotely?

Yes, CVE-2026-40362 can be exploited remotely by an unauthorized attacker to execute code.

5

What type of vulnerability is CVE-2026-40362?

CVE-2026-40362 is a heap-based buffer overflow vulnerability in Microsoft Excel.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203