Home › News › Vulnerabilities
Ubuntu Fixes Code-Execution Flaw in Spreadsheet::XLSX Perl Module via USN-9299-1
Ubuntu has published security notice USN-9299-1 for the Spreadsheet::XLSX Perl module, which can be made to run attacker-supplied code when a crafted XLSX file is opened. The notice gives no CVE identifier and lists fixed package versions for supported releases.
VulnerabilitiesKey points
- Ubuntu's USN-9299-1 covers libspreadsheet-xlsx-perl, a Perl module for reading XLSX workbooks.
- The flaw can make the module run condition expressions in number formats as Perl code while parsing a file.
- The notice says arbitrary code execution is possible if a user or automated process opens a crafted XLSX file.
- No CVE identifier is given; fixed versions are listed for Ubuntu 22.04, 24.04, 26.04 LTS and 26.10, plus older releases.
According to Ubuntu's security notice USN-9299-1, the affected package is libspreadsheet-xlsx-perl, a Perl library for reading Excel 2007 (XLSX) workbooks.
The flaw causes the module to interpret condition expressions inside number format definitions as Perl code while it parses a workbook. The notice says an attacker could possibly run arbitrary code by getting a user or automated process to open a specially prepared XLSX file. No CVE identifier is provided for this issue, and the notice repeats the description without further technical detail.
Fixed versions are listed as 0.18-1ubuntu0.26.10.1 for Ubuntu 26.10, 0.18-1ubuntu0.26.04.1~esm1 for Ubuntu 26.04 LTS, 0.17-1ubuntu0.24.04.1~esm1 for Ubuntu 24.04 LTS, and 0.17-1ubuntu0.22.04.1~esm1 for Ubuntu 22.04 LTS. The notice also lists 0.15-2ubuntu0.1~esm1, 0.15-1ubuntu0.18.04.1~esm1 and 0.15-1ubuntu0.16.04.1~esm1 for older releases, with 16.04 and 18.04 covered as stated in the notice. The notice says a standard system update applies the necessary changes.
For the full list of releases and package versions, see the original Ubuntu notice USN-9299-1.
What to do
- Apply the standard Ubuntu system update that includes the fixed libspreadsheet-xlsx-perl package.
- Confirm the installed libspreadsheet-xlsx-perl version against the fixed versions listed in USN-9299-1 for your release.
- Review how XLSX files from untrusted sources are processed on systems using this module.
Original report
“USN-9299-1: Spreadsheet::XLSX vulnerability”
It was discovered that Spreadsheet::XLSX evaluated conditions in number formats as Perl code when parsing workbooks. If a user or automated system were tricked into opening a specially crafted XLSX file, an attacker could possibly use this issue to execute arbitrary code.