Spreadsheet::XLSX versions before 0.19 for Perl allow code execution via string eval of number format conditions in ExcelFmt
Impact
Spreadsheet::XLSX versions before 0.19 for Perl may allow code execution via string eval of number format conditions in ExcelFmt, potentially letting an attacker run arbitrary Perl code by supplying an XLSX file. The weakness is due to improper neutralization of directives in dynamically evaluated code. An attacker needs to supply a malicious XLSX file.
Summarized by @cf/meta/llama-3.3-70b-instruct-fp8-fast. Verify details against the original sources.What to do
Upgrade to Spreadsheet-XLSX 0.19 or later.
Affected packages
Affected products
Vendor version evidence. Product records are separate from automatic dependency matching.
Vendor not supplied · CPANSec
Spreadsheet-XLSX
1 range
Vendor not supplied · CPANSec
Spreadsheet-XLSX
Package identity
pkg:cpan/Spreadsheet-XLSXIdentity supplied by CPANSec. Version matching requires compatible range evidence.
Compare with this publisher’s ranges. This does not inspect your installation.
affected
0 → before 0.19
custom versions
Other versions: unaffected
Original source description
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.
Inside the record
Evidence available
Describes the evidence in this view, not whether the product is safe.
Original records
CVE-2026-115943View the latest unmodified CVE JSON from the official source. It may be newer than this imported page.
cve.new JSON →Underlying weaknesses
The source’s classification of what caused the vulnerability.
Contributing organizations · 2
Assigning organization
Additional data publisher
What changed
Follow changes- CVE · CVE-2026-115943
Observed 2026-10-30T02:31:47.395Z · upstream updated 2026-10-30T02:08:11.510Z
References changed
before
[ "https://metacpan.org/release/ASB/Spreadsheet-XLSX-0.19/changes" ]
after
[ "https://metacpan.org/release/ASB/Spreadsheet-XLSX-0.19/changes", "http://www.openwall.com/lists/oss-security/2026/10/30/3" ]
Large field values are marked as truncated previews. Original source snapshots remain retained.
Showing up to 50 most recent observed changes.