Live threats

All CVEs

CVE-2026-115943

Remote Code Execution in Spreadsheet::XLSX via Number Format Evaluation

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
—
Auth required
No
Published
Oct 29, 2026
Updated
Nov 5, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-95
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

Spreadsheet::XLSX for Perl versions before 0.19 allows arbitrary code execution through string evaluation of number format conditions. An attacker supplying a malicious XLSX file can execute arbitrary Perl code during workbook parsing without authentication.

Show the original NVD text

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.

Source text, unmodified. NVD.

What to do

Patch available · fixed versions: 0.19

Update Spreadsheet::XLSX to version 0.19 or later.

Vendor advisory · metacpan.org ↗

  1. Check whether you run any of the affected products and follow the vendor advisory.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.