CVE-2024-22368 json
The Spreadsheet::ParseXLSX package before 0.28 for Perl can encounter an out-of-memory condition during parsing of a crafted XLSX document.
published 2024-01-09 2 y ago modified 2026-06-17 4 mo ago also EUVD-2024-19927
- cvss
- 5.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 40%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- tozt spreadsheet::parsexlsx 0.28
- libspreadsheet-parsexlsx-perl Debian 12 0.27-3+deb12u1
- libspreadsheet-parsexlsx-perl Debian 14, Debian 13 0.29-1
debian advisories DEBIAN-CVE-2024-22368
- libspreadsheet-parsexlsx-perl Ubuntu 20.04 LTS 0.27-2+deb10u1build0.20.04.1
- libspreadsheet-parsexlsx-perl Ubuntu 22.04 LTS 0.27-2.1+deb11u2build0.22.04.1
ubuntu advisories UBUNTU-CVE-2024-22368
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- perl-Spreadsheet-ParseXLSX openSUSE Tumbleweed 0.290.0-2.1
- perl-Spreadsheet-ParseXLSX Package Hub 15 SP5, openSUSE Leap 15.5 0.290.0-bp155.2.3.1
opensuse advisories openSUSE-SU-2024:13584-1openSUSE-SU-2024:0021-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-22368 updated
perl-Spreadsheet-ParseXLSX: out-of-memory condition during parsing of a crafted XLSX document
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
0.47% chance of exploitation in the next 30 days, higher than 40% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/haile01/perl_spreadsheet_excel_rce_poc/blob/main/parse_xlsx_bomb.md referenced PoC, tagged "exploit" by a source, unverified
- openwall.com http://www.openwall.com/lists/oss-security/2024/01/10/2 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| CNA | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
References
-
github.com
/haile01/perl_spreadsheet_excel_rce_poc/blob/main/parse_xlsx_bomb.md
exploit, mitigation, third-party-advisory
-
openwall.com
/lists/oss-security/2024/01/10/2
mailing-list, exploit, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/WNJVC4C5C5V44DNOZ5BHVU53CDXPB2OJ/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/6R7NYWVVZYDZIQC5YEXNHZM6VEE26SJV/
vendor-advisory
-
metacpan.org
/dist/Spreadsheet-ParseXLSX/changes
release-notes
-
lists.debian.org
/debian-lts-announce/2024/01/msg00018.html
mailing-list
- security.metacpan.org /2024/02/10/vulnerable-spreadsheet-parsing-modules.html
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/message/6R7NYWVVZYDZIQC5YEXNHZM6VEE26SJV/
- lists.fedoraproject.org /archives/list/package-announce@lists.fedoraproject.org/message/WNJVC4C5C5V44DNOZ5BHVU53CDXPB2OJ/
Sources
- CVE List CVE-2024-22368
- NVD CVE-2024-22368
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.