Spreadsheet::XLSX versions before 0.19 for Perl allow code execution via string eval of number format conditions in ExcelFmt
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 0.19
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
Spreadsheet::XLSX, a Perl module for reading Excel .xlsx files, is affected. A specially crafted spreadsheet can cause the module to run attacker-supplied Perl code while the file is being parsed, potentially giving the attacker control over the system that opens it.
Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.
Read the original 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.
Timeline
- CVE published
- First seen by cve.now
- Record last updated
Affected versions
- Spreadsheet-XLSX
fixed in 0.19