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.59%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: total
Technology
UbuntuDebian

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.

Upgrade path

8 packages: 3 fixed, 5 with no fix yet.

PackageAffectedFixed inStatus
debian/libspreadsheet-xlsx-perl(Debian 12) = 0.17-1; = 0.18-1; = 0.20-1; All versions No fix listed No fix yet
ubuntu/libspreadsheet-xlsx-perl(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/libspreadsheet-xlsx-perl(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/libspreadsheet-xlsx-perl(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/libspreadsheet-xlsx-perl(Ubuntu 26.10) All versions No fix listed No fix yet
cpan Spreadsheet-XLSX < 0.19 0.19 Fixed
debian/libspreadsheet-xlsx-perl(Debian 13) < 0.20-0+deb13u1; = 0.18-1 0.20-0+deb13u1 Fixed
debian/libspreadsheet-xlsx-perl(Debian 14) < 0.20-1; = 0.18-1 0.20-1 Fixed

Affected products

ProductAffected versionsFixed in
cpan Spreadsheet-XLSX < 0.19 0.19
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
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) < 0.20-0+deb13u1 0.20-0+deb13u1
debian/libspreadsheet-xlsx-perl(Debian:13) = 0.18-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

References