Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious XLSX with conditional number format
-
DeliverySubmit file to application that parses it
-
Exploiteval of workbook-supplied format condition in ExcelFmt
-
ExecutionExecute arbitrary Perl code during ->new
-
ImpactFull compromise of parsing host
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Eval input sanitization
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The target must use Spreadsheet::XLSX before 0.19 to parse an attacker-supplied XLSX, and the malicious workbook must contain a number format with a conditional section (such as [>100]); ExcelFmt then passes that workbook-controlled condition together with the cell value into a Perl string eval while Spreadsheet::XLSX->new parses the file, so the code executes automatically at parse time with no authentication and no further interaction once the file is ingested. The practical limiting factor is reach of the malicious file: an attacker must get the crafted workbook into a code path that actually calls the parser. Fully patched by upgrading to version 0.19. |
| Impact | This is a genuine high-priority defect, not a CVSS-inflated one. The vulnerability is CWE-95 (eval injection): the description states ExcelFmt passes a workbook-controlled number-format condition and cell value directly into a Perl string eval during Spreadsheet::XLSX->new parsing, yielding deterministic arbitrary code execution rather than a probabilistic memory-corruption bug - so the CVSS:3.1 vector AV:N/AC:L/PR:N/UI:N and the 9.8 score are well supported by the mechanism, and reliability is high. The signals partly conflict: the vuln.today Decision label is act_now and the flaw is a clean RCE, yet EPSS is only 0.25% (17th percentile) and there is no CISA KEV listing, so there is no evidence of current widespread exploitation - the low EPSS likely reflects the niche Perl/CPAN footprint and absence of confirmed exploit code rather than low exploitability. No PoC or exploit reference appears in the input (the references are changelog/advisory links only), so this is no public exploit identified at time of analysis. One caveat on the vector: CVSS marks UI:N, but the eval only fires when the target application actually ingests the attacker's XLSX; UI:N holds for services that auto-process uploaded spreadsheets, while interactive 'open this file' workflows effectively require user action - verify against the deployment. Net: treat as act_now per the input decision signal - patch promptly - while recognizing real-world exposure is bounded by how common this specific Perl parser is. |
| Exploit ScenarioDerived | An attacker crafts an XLSX workbook whose number format carries a conditional section (e.g. [>100]) containing Perl code, then submits it to any service or script that uses Spreadsheet::XLSX before 0.19 to parse uploaded or received spreadsheets. When the application calls Spreadsheet::XLSX->new on the file, ExcelFmt string-evals the attacker-controlled condition and the code runs with the privileges of the parsing process. No public exploit code is identified in the provided data. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 06, 2026
Code execution in Spreadsheet::XLSX before 0.19 allows an attacker who supplies a crafted XLSX workbook to run arbitrary Perl code while the file is parsed by Spreadsheet::XLSX->new. A conditional number format such as [>100] causes ExcelFmt to pass workbook-controlled data into a Perl string eval, so no authentication or user interaction is required once a vulnerable application ingests the file. The assessed impact is critical (CVSS 9.8) and the priority decision is act_now, although EPSS is low at 0.25% (17th percentile); no public exploit has been identified at time of analysis.
RemediationAI
Upgrade Spreadsheet::XLSX to version 0.19 or later; this is the fixed release and the complete remedy identified by the vendor and CPANSec. The CPAN changes file is at https://metacpan.org/release/ASB/Spreadsheet-XLSX-0.19/changes, and the oss-security advisory is at https://seclists.org/oss-sec/2026/q4/439. No vendor-stated workaround is included in the available sources; the actionable requirement is to stop using versions before 0.19 to parse attacker-supplied XLSX files.
Affected ProductsAI
Spreadsheet::XLSX for Perl versions before 0.19 are affected. Version 0.19 is the fixed release per the CPAN changes file at https://metacpan.org/release/ASB/Spreadsheet-XLSX-0.19/changes. Additional references include the VulDB advisory at https://vuldb.com/vuln/428792, the oss-security posting at https://seclists.org/oss-sec/2026/q4/439, and the Openwall oss-security thread at http://www.openwall.com/lists/oss-security/2026/10/30/3. No CPE strings are present in the supplied data.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Spreadsheet::XLSX is a Perl module for reading Excel .xlsx workbooks, which are ZIP containers of XML parts. The flaw is CWE-95, eval injection: in ExcelFmt, conditional number-format sections are evaluated by passing both the condition string and the cell value into Perl's string eval, and both values originate from the workbook. Because the eval runs during Spreadsheet::XLSX->new parsing of the workbook, an attacker-controlled XLSX can execute arbitrary Perl in the process context of the application doing the parsing. The CVSS vector is AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, indicating network-reachable, low-complexity exploitation with no privileges or user interaction; the trigger is a conditional number format in the workbook, and the parser reaches it automatically on ingestion. The affected product is Spreadsheet::XLSX for Perl versions before 0.19; no CPE strings were provided in the input.
Know when Perl gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
A workbook-controlled string eval yields reliable arbitrary Perl code execution during automatic parsing of an attacker-supplied file, with no authentication and, for server-side ingestion, no user interaction.
Primary rating from Vendor (CPANSec).
CVSS VectorVendor: CPANSec
Lifecycle Timeline
3DescriptionCVE.org
Spreadsheet::XLSX versions before 0.19 for Perl allow code execution via string eval of number format conditions in ExcelFmt.
When a number format has a condition such as [>100], ExcelFmt chooses the format section by passing the condition and the cell value to a string eval. Both come from the workbook, and the eval runs while Spreadsheet::XLSX->new parses it.
An attacker who supplies an XLSX file can run arbitrary Perl code.
Executive ViewAI
A critical flaw in Spreadsheet::XLSX, the widely embedded Perl library used to parse Excel files, allows malicious spreadsheets to execute arbitrary code on the systems that process them - potentially compromising any service, batch job, or user-facing application that ingests untrusted XLSX files. Because no patch currently exists and exploitation requires no credentials, any application in the environment parsing external workbooks should be treated as exposed, with potential for data theft, lateral movement, or service disruption.
No vendor-released patch identified at time of analysis. Interim mitigations: block or quarantine untrusted XLSX ingestion, sandbox and least-privilege the parsing process, disable automatic parsing of emailed or uploaded workbooks, restrict egress and filesystem access from parsing workers, and monitor for anomalous process activity.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
The _compile function in Maketext.pm in the Locale::Maketext implementation in Perl before 5.17.7 does not properly hand
Stack-based buffer overflow in the CPerlHost::Add method in win32/perlhost.h in Perl before 5.24.3-RC1 and 5.26.x before
The VDir::MapPathA and VDir::MapPathW functions in Perl 5.22 allow remote attackers to cause a denial of service (out-of
Perl before 5.26.3 has a buffer overflow via a crafted regular expression that triggers invalid write operations. Rated
Perl before 5.26.3 and 5.28.0 before 5.28.1 has a buffer overflow via a crafted regular expression that triggers invalid
Silently incorrect regular-expression matching in the Perl interpreter (all versions through 5.43.9) lets an oversized a
Perl before 5.26.3 has a buffer over-read via a crafted regular expression that triggers disclosure of sensitive informa
Perl might allow context-dependent attackers to bypass the taint protection mechanism in a child process via duplicate e
CPAN.pm before 2.35 does not verify TLS certificates when downloading distributions over HTTPS. Rated high severity (CVS
The XSLoader::load method in XSLoader in Perl does not properly locate .so files when called in a string eval, which mig
In Perl through 5.26.2, the Archive::Tar module allows remote attackers to bypass a directory-traversal protection mecha
Perl before 5.30.3 on 32-bit platforms allows a heap-based buffer overflow because nested regular expression quantifiers
EUVD-2026-113403
GHSA-h33r-pwjw-x33j
NVD
CVE.org
EPSS
VulDB
Exploit-DB