Skip to content
OpenAdvisories
Critical · 9.8 CVE-2026-115943 EUVD-2026-113403GHSA-h33r-pwjw-x33j

Spreadsheet::XLSX versions before 0.19 for Perl allow code execution via string eval of number format conditions in ExcelFmt

Published Oct 29, 2026 · Updated Nov 5, 2026 · Assigned by CPANSec

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

VendorProductAffectedFixed
— 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.

ReleasePackageFixed inAdvisory
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 —
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS libspreadsheet-xlsx-perl No fix yet —
Ubuntu 16.04 LTS libspreadsheet-xlsx-perl No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed perl-Spreadsheet-XLSX 0.200.0-1.1 openSUSE-SU-2026:12367-1

Advisories 1

References