Spreadsheet-XLSXに細工したXLSXファイルで任意のPythonコードを実行される脆弱性
Summary
2026年10月29日に公表された脆弱性です。Perl向けのSpreadsheet-XLSXの0.19より前の版で、表示形式の条件式が文字列評価されるため、細工したXLSXファイルを開かせると任意のPerlコードを実行されるおそれがあります。修正版の0.19で対処できます。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
2026年10月29日に公表された脆弱性です。Perl向けのSpreadsheet-XLSXの0.19より前の版で、表示形式の条件式が文字列評価されるため、細工したXLSXファイルを開かせると任意のPerlコードを実行されるおそれがあります。修正版の0.19で対処できます。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| CPANSpreadsheet-XLSX |
< 0.19→ 0.19 |
0.19 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-115943 libspreadsheet-xlsx-perl Fix available
- Ubuntu UBUNTU-CVE-2026-115943 libspreadsheet-xlsx-perl Fix available
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- DSA DSA-6627-1
- web metacpan.org
- web nvd.nist.gov
- web github.com
- web openwall.com