Description
The Spreadsheet::ParseXLSX package before 0.28 for Perl can encounter an out-of-memory condition during parsing of a crafted XLSX document. This occurs because the memoize implementation does not have appropriate constraints on merged cells.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libspreadsheet-parsexlsx-perl | 0.29-1 | — |
| Debian 13 | libspreadsheet-parsexlsx-perl | 0.29-1 | — |
| Debian 12 | libspreadsheet-parsexlsx-perl | 0.27-3+deb12u1 | — |
| Debian 10 | libspreadsheet-parsexlsx-perl | 0.27-2+deb10u1 | DLA-3723-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | libspreadsheet-parsexlsx-perl | 0.27-2.1+deb11u2build0.22.04.1 | USN-6769-1 |
| Ubuntu 20.04 LTS | libspreadsheet-parsexlsx-perl | 0.27-2+deb10u1build0.20.04.1 | USN-6769-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Package Hub 15 SP5 | perl-Spreadsheet-ParseXLSX | 0.290.0-bp155.2.3.1 | openSUSE-SU-2024:0021-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | perl-Spreadsheet-ParseXLSX | 0.290.0-2.1 | openSUSE-SU-2024:13584-1 |
| openSUSE Leap 15.5 | perl-Spreadsheet-ParseXLSX | 0.290.0-bp155.2.3.1 | openSUSE-SU-2024:0021-1 |
Advisories 4
- DLA-3723-1 libspreadsheet-parsexlsx-perl - security update Debian Security (DSA / DLA) · Mar 9, 2026
- USN-6769-1 libspreadsheet-parsexlsx-perl vulnerabilities Ubuntu Security Notices (USN) · Feb 10, 2026
- openSUSE-SU-2024:13584-1 perl-Spreadsheet-ParseXLSX-0.290.0-2.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:0021-1 Security update for perl-Spreadsheet-ParseXLSX SUSE / openSUSE Security Updates · Feb 4, 2026
References
- https://github.com/haile01/perl_spreadsheet_excel_rce_poc/blob/main/parse_xlsx_bomb.md
- https://metacpan.org/dist/Spreadsheet-ParseXLSX/changes
- [oss-security] 20240110 CVE-2024-22368: Spreadsheet::ParseXLSX for Perl is vulnerable to DoS via out-of-memory bugs mailing-list
- [debian-lts-announce] 20240127 [SECURITY] [DLA 3723-1] libspreadsheet-parsexlsx-perl security update mailing-list
- FEDORA-2024-5f136f5d10 vendor-advisory
- FEDORA-2024-fa14bfd3b5 vendor-advisory
- https://security.metacpan.org/2024/02/10/vulnerable-spreadsheet-parsing-modules.html