What’s Vulnerable › Vulnerabilities
CVE-2021-40485: Microsoft Excel Remote Code Execution Vulnerability
- Severity: medium (CVSS 6.8 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.7% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2021-10-13 · updated 2026-06-17
- Weakness: CWE-94
Description
Microsoft Excel Remote Code Execution Vulnerability
Affected products
- Microsoft 365 Apps: all versions
- Microsoft Excel 2013 Service Pack 1: 2013-sp1, 2016
- Microsoft Office: 2019
- Microsoft Office LTSC for Mac 2021: 2021
- Microsoft Office Online Server: all versions
- Microsoft SharePoint Server: 2013-sp1
- Microsoft 365 Apps: from 16.0.1 before https://aka.ms/OfficeSecurityReleases — fixed in https://aka.ms/OfficeSecurityReleases
- Microsoft Excel 2013 Service Pack 1: from 15.0.0.0 before 15.0.5389.1000 — fixed in 15.0.5389.1000
- Microsoft Excel 2016: from 16.0.0.0 before 16.0.5227.1000 — fixed in 16.0.5227.1000
- Microsoft Office 2019 for Mac: from 16.0.0 before 16.54.21101001 — fixed in 16.54.21101001
- Microsoft Office LTSC 2021: from 16.0.1 before https://aka.ms/OfficeSecurityReleases — fixed in https://aka.ms/OfficeSecurityReleases
- Microsoft SharePoint Enterprise Server 2013 Service Pack 1: from 15.0.0 before 15.0.5389.1000 — fixed in 15.0.5389.1000
- Microsoft Office: from 19.0.0 before https://aka.ms/OfficeSecurityReleases — fixed in https://aka.ms/OfficeSecurityReleases
- Microsoft Office LTSC for Mac 2021: from 16.0.1 before 16.54.21101001 — fixed in 16.54.21101001
- Microsoft Office Online Server: from 16.0.1 before 16.0.10379.20000 — fixed in 16.0.10379.20000
How to fix
Upgrade to a fixed version: Microsoft 365 Apps https://aka.ms/OfficeSecurityReleases; Microsoft Excel 2013 Service Pack 1 15.0.5389.1000; Microsoft Excel 2016 16.0.5227.1000; Microsoft Office 2019 for Mac 16.54.21101001; Microsoft Office LTSC 2021 https://aka.ms/OfficeSecurityReleases; Microsoft SharePoint Enterprise Server 2013 Service Pack 1 15.0.5389.1000; Microsoft Office https://aka.ms/OfficeSecurityReleases; Microsoft Office LTSC for Mac 2021 16.54.21101001; Microsoft Office Online Server 16.0.10379.20000. Check the vendor advisory for mitigations.
References
- https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-40485
- https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-40485
Get alerted when CVE-2021-40485 or the next vulnerability affects your stack