draft preview · not published · notes marked "Before launch" will not appear on the live site

Home / Known exploited

CVE-2023-7101: Spreadsheet::ParseExcel Remote Code Execution Vulnerability

Exploited in attacksPublic exploit code

Yes. CVE-2023-7101 has been used in real attacks. CISA added it to its Known Exploited Vulnerabilities catalog on 2 January 2024. Public exploit code is available: 1 Metasploit module. EPSS puts the chance of further exploitation attempts in the next 30 days at 19.1%.

Exploited in real attacks
Yes. On CISA's exploited list since 2 January 2024
Used in ransomware
Not known
Public exploit code
1 Metasploit module
Chance of exploitation (EPSS)
19.1% in the next 30 days, higher than 97.4% of scored vulnerabilities. Scored 5 December 2026
Severity (CVSS)
7.8 High (version 3.1)
Affects
Spreadsheet::ParseExcel Spreadsheet::ParseExcel
Type of flaw
Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') (CWE-95)
Published
24 December 2023
US federal patch deadline
23 January 2024

What it is

Spreadsheet::ParseExcel contains a remote code execution vulnerability due to passing unvalidated input from a file into a string-type “eval”. Specifically, the issue stems from the evaluation of Number format strings within the Excel parsing logic.

Spreadsheet::ParseExcel version 0.65 is a Perl module used for parsing Excel files. Spreadsheet::ParseExcel is vulnerable to an arbitrary code execution (ACE) vulnerability due to passing unvalidated input from a file into a string-type “eval”. Specifically, the issue stems from the evaluation of Number format strings (not to be confused with printf-style format strings) within the Excel parsing logic.

Description from the CVE record.

Is CVE-2023-7101 being exploited?

Yes. CISA lists a vulnerability as known exploited only when it has reliable evidence of exploitation in real attacks, and it added CVE-2023-7101 on 2 January 2024. That was 9 days after the CVE was published.

Public exploit code

These are public references that anyone, including an attacker, can find. Their existence lowers the skill needed to use the flaw.

Affected products

From the CVE record. Check the vendor advisory for the full list of fixed versions.

What to do

CISA's required action: Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.

Because this flaw has already been used in attacks, patching is only half the job. If an affected system was reachable while unpatched, check it for signs of compromise before trusting it again.

How to check whether you are exposed

  1. Find every copy. List each place Spreadsheet::ParseExcel runs, including test systems and anything set up outside IT.
  2. Compare versions. Match what you find against the affected versions in the vendor advisory.
  3. Check reachability. An affected system that faces the internet is urgent; one reachable only from inside still matters once an attacker has a foothold.
  4. Assume low-skill attackers can use it. A Metasploit module exists, which packages the attack into a standard tool.

HackDrill

Find out whether this is reachable in your systems.

A version number tells you a system is affected. A hacking drill tells you whether an attacker can actually get in through a flaw like this one in Spreadsheet::ParseExcel. HackDrill's AI agents attack your product, infrastructure, network and cloud the way modern attackers do, and show you the real, exploitable gaps so you can fix them first.

Sources

Machine-readable: /api/cve/CVE-2023-7101.json