Code execution in Spreadsheet::XLSX via eval of number format conditions
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA. Impact type from CWE-95.
Summary
Spreadsheet::XLSX versions before 0.19 for Perl evaluate number format conditions from the workbook as string eval code. When a number format contains a condition such as [>100], ExcelFmt passes that condition and the cell value to a string eval while Spreadsheet::XLSX->new parses the file, a flaw tracked as CWE-95. An unauthenticated remote attacker who supplies a crafted XLSX file can run arbitrary Perl code.
Written with Claude Haiku 5.5 from the sources below · 2026-11-06
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | Spreadsheet-XLSX | before 0.19 | 0.19 | Patch available | CNA |
- Spreadsheet-XLSX Vendor— Affected before 0.19 Fixed in 0.19 Patch available CNA
Remediation
Update Spreadsheet-XLSX to version 0.19 or later, which fixes the flaw.
Written with Claude Haiku 5.5 from the sources below · 2026-11-06
- Fix · CNA Spreadsheet-XLSX Fixed in 0.19
Vendor assessments
Timeline
- 2026-10-29 Threatist record created from CVE-2026-115943
- 2026-10-30 Alias added: GHSA-h33r-pwjw-x33j
- 2026-10-30 Affected versions changed · Red Hat
- 2026-10-30 CVSS score added · Red Hat
- 2026-11-05 CVSS score added · CISA ADP
- 2026-11-05 CISA SSVC decision points changed
- 2026-11-05 Priority changed: LOW → MEDIUM
References
Sources
- CVE-2026-115943 · CVE Program
- CVE-2026-115943 · NVD
- FIRST EPSS
- GHSA-h33r-pwjw-x33j · GitHub Advisory Database · CC BY 4.0
- CVE-2026-115943 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences