Skip to main content

Spreadsheet::XLSX EUVDEUVD-2026-113403

| CVE-2026-115943 CRITICAL
Eval Injection (CWE-95)
2026-10-29 CPANSec GHSA-h33r-pwjw-x33j
9.8
CVSS 3.1 · Vendor: CPANSec
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious XLSX with conditional number format
  2. Delivery
    Submit file to application that parses it
  3. Exploit
    eval of workbook-supplied format condition in ExcelFmt
  4. Execution
    Execute arbitrary Perl code during ->new
  5. Impact
    Full 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (CPANSec) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 9.8 CRITICAL

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Red Hat 7.8 HIGH

Primary rating from Vendor (CPANSec).

CVSS VectorVendor: CPANSec

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
CVSS changed
Nov 05, 2026 - 22:38 NVD
9.8 (CRITICAL)
CVE Published
Oct 29, 2026 - 21:37 cve.org
CRITICAL 9.8
CVE Published
Oct 29, 2026 - 21:37 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.3%
Top 83% exploitable
Prevalence
Low
niche Perl CPAN XLSX parser, limited modern production footprint
Social Media
2
Sightings
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Very High

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

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.

More in Perl

View all
CVE-2012-6329 HIGH POC
7.5 Jan 04

The _compile function in Maketext.pm in the Locale::Maketext implementation in Perl before 5.17.7 does not properly hand

CVE-2017-12814 CRITICAL POC
9.8 Sep 28

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

CVE-2015-8608 CRITICAL POC
9.8 Feb 07

The VDir::MapPathA and VDir::MapPathW functions in Perl 5.22 allow remote attackers to cause a denial of service (out-of

CVE-2018-18314 CRITICAL POC
9.8 Dec 07

Perl before 5.26.3 has a buffer overflow via a crafted regular expression that triggers invalid write operations. Rated

CVE-2018-18312 CRITICAL POC
9.8 Dec 05

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

CVE-2026-13221 CRITICAL POC
9.1 Jul 13

Silently incorrect regular-expression matching in the Perl interpreter (all versions through 5.43.9) lets an oversized a

CVE-2018-18313 CRITICAL POC
9.1 Dec 07

Perl before 5.26.3 has a buffer over-read via a crafted regular expression that triggers disclosure of sensitive informa

CVE-2016-2381 HIGH
7.5 Apr 08

Perl might allow context-dependent attackers to bypass the taint protection mechanism in a child process via duplicate e

CVE-2023-31484 HIGH POC
8.1 Apr 29

CPAN.pm before 2.35 does not verify TLS certificates when downloading distributions over HTTPS. Rated high severity (CVS

CVE-2016-6185 HIGH POC
7.8 Aug 02

The XSLoader::load method in XSLoader in Perl does not properly locate .so files when called in a string eval, which mig

CVE-2018-12015 HIGH POC
7.5 Jun 07

In Perl through 5.26.2, the Archive::Tar module allows remote attackers to bypass a directory-traversal protection mecha

CVE-2020-10543 HIGH
8.2 Jun 05

Perl before 5.30.3 on 32-bit platforms allows a heap-based buffer overflow because nested regular expression quantifiers

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy