CVE-2026-115943
Remote Code Execution in Spreadsheet::XLSX via Number Format Evaluation
Critical 9.8 No auth needed
Follow: this CVE We alert you by email or Slack (account required).
- 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.
What to do
Patch available · fixed versions: 0.19
Update Spreadsheet::XLSX to version 0.19 or later.
- Check whether you run any of the affected products and follow the vendor advisory.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Official advisories
- Security update for perl-Spreadsheet-XLSX · SUSE · openSUSE-SU-2026:22410-1 · Nov 16, 2026 Critical
- perl-Spreadsheet-XLSX-0.200.0-1.1 on GA media · SUSE · openSUSE-SU-2026:12367-1 · Oct 30, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.