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

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.59%, higher than 49% of CVEs (2026-12-01)
- Published: 2026-10-29T21:37:40.697Z
- Modified: 2026-11-05T22:17:48.150Z
- Weaknesses: CWE-95
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- 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.

(As written by CVE List.)

## Affected

- Spreadsheet-XLSX: before 0.19

## References

- <https://metacpan.org/release/ASB/Spreadsheet-XLSX-0.19/changes> (release-notes)
- <http://www.openwall.com/lists/oss-security/2026/10/30/3>

## Sources

- CVE List: [CVE-2026-115943](https://www.cve.org/CVERecord?id=CVE-2026-115943), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2026-115943](https://nvd.nist.gov/vuln/detail/CVE-2026-115943), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2026-115943 · Whole record: https://cve.day/CVE-2026-115943.json · Rebuilt by cve.day 2026-11-25T22:59:47.842Z
