What’s Vulnerable › Vulnerabilities
CVE-2021-31175: Microsoft Office Remote Code Execution Vulnerability
- Severity: medium (CVSS 6.8 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 3.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2021-05-11 · updated 2026-06-17
- Weakness: CWE-416
Description
Microsoft Office Remote Code Execution Vulnerability
Affected products
- Microsoft 365 Apps: all versions
- Microsoft Excel 2013 Service Pack 1: 2013-sp1, 2016
- Microsoft Office: 2013-sp1, 2016, 2019
- Microsoft Office Online Server: all versions
- Microsoft Office Web Apps 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.5345.1000 — fixed in 15.0.5345.1000
- Microsoft Excel 2016: from 16.0.0.0 before 16.0.5161.1000 — fixed in 16.0.5161.1000
- Microsoft Office 2013 Service Pack 1: from 15.0.0 before 15.0.5345.1000 — fixed in 15.0.5345.1000
- Microsoft Office Web Apps Server 2013 Service Pack 1: from 15.0.1 before 15.0.5345.1000 — fixed in 15.0.5345.1000
- Microsoft Office: from 19.0.0 before https://aka.ms/OfficeSecurityReleases — fixed in https://aka.ms/OfficeSecurityReleases
- Microsoft Office Online Server: from 16.0.1 before 16.0.10374.20000 — fixed in 16.0.10374.20000
How to fix
Upgrade to a fixed version: Microsoft 365 Apps https://aka.ms/OfficeSecurityReleases; Microsoft Excel 2013 Service Pack 1 15.0.5345.1000; Microsoft Excel 2016 16.0.5161.1000; Microsoft Office 2013 Service Pack 1 15.0.5345.1000; Microsoft Office Web Apps Server 2013 Service Pack 1 15.0.5345.1000; Microsoft Office https://aka.ms/OfficeSecurityReleases; Microsoft Office Online Server 16.0.10374.20000. Check the vendor advisory for mitigations.
References
- https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-31175
- https://www.zerodayinitiative.com/advisories/ZDI-21-580/
- https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-31175
- https://www.zerodayinitiative.com/advisories/ZDI-21-580/
Get alerted when CVE-2021-31175 or the next vulnerability affects your stack