CVE-2024-22368: The Spreadsheet::ParseXLSX package before 0.28 for Perl can encounter an out-of-memory condition
Source CVE Database V5
Not known to be exploited · CVSS 5.5 Medium · fixed in 0.28 : update affected systems when convenient.
Data as of 26 Oct 2026, 14:05 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 40% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.28
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 9 Jan 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| n/a n/a | Affected
| Fixed in
|
AI-suggested
To mitigate CVE-2024-22368, organizations should upgrade the Spreadsheet::ParseXLSX Perl module to version 0.28 or later, where the vulnerability is addressed. If immediate upgrading is not feasible, implement strict input validation to detect and block suspicious XLSX files, particularly those with abnormal merged cell configurations. Employ resource limits and monitoring on processes that parse XLSX files to prevent excessive memory consumption. Educate users about the risks of opening untrusted spreadsheet attachments and reinforce phishing awareness. Consider sandboxing or isolating spreadsheet parsing operations to contain potential crashes. Regularly review and update Perl dependencies and maintain an inventory of software components to quickly identify vulnerable versions. Finally, monitor security advisories for any emerging exploits or patches related to this vulnerability.
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.
References
- github.com/haile01/perl_spreadsheet_excel_rce_poc/blob/main/parse_xlsx_bomb.md (opens in a new tab)
- metacpan.org/dist/Spreadsheet-ParseXLSX/changes (opens in a new tab)
- openwall.com/lists/oss-security/2024/01/10/2 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2024/01/msg00018.html (opens in a new tab)
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WNJVC4C5C5V44DNOZ5BHVU53CDXPB2OJ/ (opens in a new tab)
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6R7NYWVVZYDZIQC5YEXNHZM6VEE26SJV/ (opens in a new tab)
- security.metacpan.org/2024/02/10/vulnerable-spreadsheet-parsing-modules.html (opens in a new tab)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6R7NYWVVZYDZIQC5YEXNHZM6VEE26SJV/ (opens in a new tab)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WNJVC4C5C5V44DNOZ5BHVU53CDXPB2OJ/ (opens in a new tab)