CVE-2021-34501: Microsoft Excel XLS File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability

Published Jul 13, 2021
·
Updated

Microsoft Excel Remote Code Execution Vulnerability

Other sources

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Microsoft Excel. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the parsing of CONTINUEFRT12 records within XLS files. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process.

ZDI

Affected Software

19 affected componentsFixes available
Microsoft Excel
Microsoft 365 Apps
Microsoft Excel=2013-sp1
Microsoft Excel=2013-sp1
Microsoft Excel=2016
Microsoft Office=2019
Microsoft Office Macos=2019
Microsoft Office Online Server
Microsoft Excel 2013<15.0.5363.1000
15.0.5363.1000
Microsoft Excel 2013<15.0.5363.1000
15.0.5363.1000
Microsoft Office Online Server<16.0.10376.20001
16.0.10376.20001
Microsoft Excel 2013 RT<15.0.5363.1000
15.0.5363.1000
Microsoft Excel 2016<16.0.5188.1000
16.0.5188.1000
Microsoft Office 2019 for 64-bit editions<https://aka.ms/OfficeSecurityReleases
https://aka.ms/OfficeSecurityReleases
Microsoft Office 2019 for 32-bit editions<https://aka.ms/OfficeSecurityReleases
https://aka.ms/OfficeSecurityReleases
Microsoft Office 2019 for Mac<16.51.210711.01
16.51.210711.01
Microsoft 365 Apps for Enterprise<https://aka.ms/OfficeSecurityReleases
https://aka.ms/OfficeSecurityReleases
Microsoft Excel 2016<16.0.5188.100
16.0.5188.100
Microsoft 365 Apps for Enterprise<https://aka.ms/OfficeSecurityReleases
https://aka.ms/OfficeSecurityReleases

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 15.0.5363.1000Patch KB5001993
  2. Upgrade

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

    Fixed in 16.0.10376.20001Patch KB5001973
  3. Upgrade

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

    Fixed in 16.0.5188.1000Patch KB5001977
  4. Upgrade

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

    Fixed in https://aka.ms/OfficeSecurityReleases
  5. Upgrade

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

    Fixed in 16.51.210711.01
  6. Upgrade

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

    Fixed in 16.0.5188.100Patch KB5001977

Event History

Jul 13, 2021
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
Jul 14, 2021
CVE Published
via MITRE·05:54 PM
Data Sourced
via MITRE·05:54 PM
DescriptionSeverity
Data Sourced
via NVD·06:15 PM
RemedyDescriptionSeverityAffected Software
Aug 11, 2021
Advisory Published
via ZDI·12:00 AM
Data Sourced
via ZDI·12:00 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is CVE-2021-34501?

CVE-2021-34501 is a vulnerability that allows remote attackers to execute arbitrary code on affected installations of Microsoft Excel.

2

How severe is CVE-2021-34501?

CVE-2021-34501 has a severity score of 8.8, which is considered high.

3

What software is affected by CVE-2021-34501?

Microsoft Excel 2016, Microsoft Excel 2013, Microsoft Office Online Server, Microsoft 365 Apps for Enterprise, Microsoft Excel 2013 RT, Microsoft Office 2019 for Mac, Microsoft Office 2019 for 32-bit editions, Microsoft Office 2019 for 64-bit editions, and Microsoft 365 Apps for Enterprise (x86) are affected by CVE-2021-34501.

4

How do I fix CVE-2021-34501 on Microsoft Excel 2016?

To fix CVE-2021-34501 on Microsoft Excel 2016, you can apply the patch provided by Microsoft. Please refer to the following URL for more information: [link](https://www.microsoft.com/downloads/details.aspx?familyid=896cd62a-4be0-4156-9ba1-b5a7e9cf4e3e)

5

How do I fix CVE-2021-34501 on Microsoft Excel 2013?

To fix CVE-2021-34501 on Microsoft Excel 2013, you can apply the patch provided by Microsoft. Please refer to the following URL for more information: [link](https://www.microsoft.com/downloads/details.aspx?familyid=db0dadc7-f5ad-446c-a614-82f53cd238d4)

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