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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | Spreadsheet-XLSX | < 0.19 | 0.19 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libspreadsheet-xlsx-perl | 0.20-1 | — |
| Debian 13 | libspreadsheet-xlsx-perl | 0.20-0+deb13u1 | — |
| Debian 12 | libspreadsheet-xlsx-perl | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | libspreadsheet-xlsx-perl | No fix yet | — |
| Ubuntu 26.04 LTS | libspreadsheet-xlsx-perl | No fix yet | — |
| Ubuntu 24.04 LTS | libspreadsheet-xlsx-perl | No fix yet | — |
| Ubuntu 22.04 LTS | libspreadsheet-xlsx-perl | No fix yet | — |
| Ubuntu 20.04 LTS | libspreadsheet-xlsx-perl | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | libspreadsheet-xlsx-perl | No fix yet | — |
| Ubuntu 16.04 LTS | libspreadsheet-xlsx-perl | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | perl-Spreadsheet-XLSX | 0.200.0-1.1 | openSUSE-SU-2026:12367-1 |
Advisories 1
- openSUSE-SU-2026:12367-1 perl-Spreadsheet-XLSX-0.200.0-1.1 on GA media SUSE / openSUSE Security Updates · Oct 31, 2026