Skip to content

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

CriticalCVSS 9.8 EPSS 0.61%
Published
Updated
Exploit status
No public exploit known

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

ProductAffected versionsFixed in
cpan Spreadsheet-XLSX < 0.19 0.19
debian/libspreadsheet-xlsx-perl(Debian:12) All versions No fix listed
debian/libspreadsheet-xlsx-perl(Debian:12) = 0.17-1 No fix listed
debian/libspreadsheet-xlsx-perl(Debian:12) = 0.18-1 No fix listed
debian/libspreadsheet-xlsx-perl(Debian:12) = 0.20-1 No fix listed
debian/libspreadsheet-xlsx-perl(Debian:13) All versions No fix listed
debian/libspreadsheet-xlsx-perl(Debian:13) = 0.18-1 No fix listed
debian/libspreadsheet-xlsx-perl(Debian:13) = 0.20-1 No fix listed
debian/libspreadsheet-xlsx-perl(Debian:14) < 0.20-1 0.20-1
debian/libspreadsheet-xlsx-perl(Debian:14) = 0.18-1 No fix listed
ubuntu/libspreadsheet-xlsx-perl(Ubuntu:22.04) All versions No fix listed
ubuntu/libspreadsheet-xlsx-perl(Ubuntu:24.04) All versions No fix listed
ubuntu/libspreadsheet-xlsx-perl(Ubuntu:26.04) All versions No fix listed
ubuntu/libspreadsheet-xlsx-perl(Ubuntu:26.10) All versions No fix listed

References