CVE-2026-115943

NameCVE-2026-115943
DescriptionSpreadsheet::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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-6627-1
Debian Bugs1152516

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libspreadsheet-xlsx-perl (PTS)bookworm0.17-1vulnerable
trixie0.18-1vulnerable
trixie (security)0.20-0+deb13u1fixed
forky, sid0.20-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libspreadsheet-xlsx-perlsourcetrixie0.20-0+deb13u1DSA-6627-1
libspreadsheet-xlsx-perlsource(unstable)0.20-11152516

Notes

https://lists.security.metacpan.org/cve-announce/msg/44746764/
Fixed by: https://github.com/asb-capfan/Spreadsheet-XLSX/commit/4416d2be9c253669c1916b72201ff36172ace227

Search for package or bug name: Reporting problems