Arbitrary Code Execution (ACE) Vulnerability
CVE-2023-7101Published 24 Dec 2023, 21:34 UTC
Exploited in the wild
CISA added it to the Known Exploited Vulnerabilities list on 2 Jan 2024; US federal agencies must fix it by 23 Jan 2024.
Real-world risk
8.0/ 10High
Act now: it is being exploited.
PreliminaryFrom the CVSS vector only · confidence low
CVSS
7.8
scored by CISA, CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from Mandiant)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| DebianUbiquitous | = 10 | — |
| Spreadsheet::ParseExcelCommon | = 0.65 | — |
| fedoraCommon | = 38; = 39 | — |
| spreadsheet\Common | >= 0.41, <= 0.65 | — |
What to do
Check the vendor advisory in the references below for fixed versions and workarounds.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Full compromiseCode execution or full control of the system or application | From the CVSS vector | 1.00 |
| Attacker position | LocalMust already run code or have a shell on the machine | From the CVSS vector | 0.50 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | RoutineA normal action: open a file, visit a page, click a link | From the CVSS vector | 0.70 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T5: Exploited in the wild (× 1.00)
On CISA KEV or VulnCheck KEV, flagged exploited by ENISA's EUVD, CISA's SSVC says active, or the vendor's or CNA's own page says it is exploited
- On CISA’s Known Exploited Vulnerabilities list
- Metasploit module (link)
- CISA SSVC: exploitation active
EPSS 19.1% chance of exploitation in 30 days (percentile 97), as of 2026-12-03.
The arithmetic
- Prerequisites multiplied together0.350
- Threat T5: Exploited in the wild1.000
- 10 × impact 1 × prerequisites 0.35 × threat 13.500
- Exploited in the wild: attackers have already met the prerequisites, so they count only by their square root5.916
- Exploited in the wild: at least 88.000
- Rounded to one decimal between 0.1 and 108.0
Exploitation and evidence timeline
- 24 Dec 2023 Published
- 2 Jan 2024 Added to CISA KEV
- 3 Dec 2026 Metasploit module first seen
- 3 Dec 2026 CISA SSVC: exploitation active first seen
- 3 Dec 2026 Risk 8.0 (cvss fallback)
Weakness
CWE-95
References
- https://github.com/mandiant/Vulnerability-Disclosures/blob/master/2023/MNDT-2023-0019.mdx-transferred
- https://https://www.cve.org/CVERecord?id=CVE-2023-7101x-transferred
- https://https://metacpan.org/dist/Spreadsheet-ParseExcelx-transferred
- https://https://github.com/haile01/perl_spreadsheet_excel_rce_pocx-transferred
- https://github.com/jmcnamara/spreadsheet-parseexcel/blob/c7298592e102a375d43150cd002feed806557c15/lib/Spreadsheet/ParseExcel/Utility.pm#L171x-transferred
- http://www.openwall.com/lists/oss-security/2023/12/29/4x-transferred
- https://lists.debian.org/debian-lts-announce/2023/12/msg00025.htmlx-transferred
- https://https://github.com/jmcnamara/spreadsheet-parseexcel/commit/bd3159277e745468e2c553417b35d5d7dc7405bcx-transferred
- https://lists.fedoraproject.org/archives/list/[email protected]/message/IFEHKULQRVXHIV7XXK2RGD4VQN6Y4CV5/x-transferred
- https://lists.fedoraproject.org/archives/list/[email protected]/message/M2FIWDHRYTAAQLGM6AFOZVM7AFZ4H2ZR/x-transferred
- https://security.metacpan.org/2024/02/10/vulnerable-spreadsheet-parsing-modules.htmlx-transferred
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-7101government-resource
- CVE-2023-7101 on CVE.org