CVE-2024-22368
The Spreadsheet::ParseXLSX package before 0.28 for Perl can encounter an out-of-memory condition...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
5.5
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.
- Record
CVE-2024-22368- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
CVE List
5.5
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.
- Record
CVE-2024-22368- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
EUVDEUVD-2024-19927
5.5
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.
- Record
EUVD-2024-19927- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-x2hg-844v-frvh
5.5
The Spreadsheet::ParseXLSX package before 0.28 for Perl can encounter an out-of-memory condition...
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.
- Record
GHSA-x2hg-844v-frvh- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSV
5.5
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.
- Record
CVE-2024-22368- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2024-22368
5.5
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.
- Record
DEBIAN-CVE-2024-22368- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 4 moreShow less
OSVUBUNTU-CVE-2024-22368
5.5
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.
- Record
UBUNTU-CVE-2024-22368- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVopenSUSE-SU-2024:0021-1 No score
Security update for perl-Spreadsheet-ParseXLSX
This update for perl-Spreadsheet-ParseXLSX fixes the following issues:
Updated to 0.29:
see /usr/share/doc/packages/perl-Spreadsheet-ParseXLSX/Changes
0.29:
- Fix for 'Argument '' isn't numeric in addition (+) at /usr/local/shar…
- Incorrect cell values due to phonetic data doy#72
- Fix die message in parse()
- Cannot open password protected SHA1 encrypted files. doy#68
- use date format detection based on Spreadsheet::XLSX
- Add rudimentary support for hyperlinks in cells
0.28:
-
CVE-2024-22368: out-of-memory condition during parsing of a crafted XLSX document (boo#1218651)
-
Fix possible memory bomb as reported in https://github.com/haile01/perl_spreadsheet_excel_rce_poc/blob/main/parse_xlsx_bomb.md
-
Updated Dist::Zilla configuration fixing deprecation warnings
- Record
openSUSE-SU-2024:0021-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:13584-1 No score
perl-Spreadsheet-ParseXLSX-0.290.0-2.1 on GA media
These are all security issues fixed in the perl-Spreadsheet-ParseXLSX-0.290.0-2.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:13584-1- Updated
- 2026-11-02
OSVUSN-6769-1 No score
libspreadsheet-parsexlsx-perl vulnerabilities
Le Dinh Hai discovered that Spreadsheet::ParseXLSX did not properly manage memory during cell merge operations. An attacker could possibly use this issue to consume large amounts of memory, resulting in a denial of service condition. (CVE-2024-22368)
An Pham discovered that Spreadsheet::ParseXLSX allowed the processing of external entities in a default configuration. An attacker could possibly use this vulnerability to execute an XML External Entity (XXE) injection attack. (CVE-2024-23525)
- Record
USN-6769-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
libspreadsheet-parsexlsx-perlDebian:12 |
before 0.27-3+deb12u1, plus listed versions 0.27-3 |
0.27-3+deb12u1 |
libspreadsheet-parsexlsx-perlDebian:13 |
before 0.29-1 | 0.29-1 |
libspreadsheet-parsexlsx-perlDebian:14 |
before 0.29-1 | 0.29-1 |
libspreadsheet-parsexlsx-perlDebian:10 From an advisory covering 2 CVEs |
before 0.27-2+deb10u1, plus listed versions 0.27-2 |
0.27-2+deb10u1 |
libspreadsheet-parsexlsx-perlUbuntu:20.04:LTS |
before 0.27-2+deb10u1build0.20.04.1, plus listed versions 0.27-2 |
0.27-2+deb10u1build0.20.04.1 |
libspreadsheet-parsexlsx-perlUbuntu:22.04:LTS |
before 0.27-2.1+deb11u2build0.22.04.1, plus listed versions 0.27-2.1 |
0.27-2.1+deb11u2build0.22.04.1 |
libspreadsheet-parsexlsx-perlUbuntu:20.04:LTS From an advisory covering 2 CVEs |
before 0.27-2+deb10u1build0.20.04.1, plus listed versions 0.27-2 |
0.27-2+deb10u1build0.20.04.1 |
libspreadsheet-parsexlsx-perlUbuntu:22.04:LTS From an advisory covering 2 CVEs |
before 0.27-2.1+deb11u2build0.22.04.1, plus listed versions 0.27-2.1 |
0.27-2.1+deb11u2build0.22.04.1 |
perl-Spreadsheet-ParseXLSXSUSE:Package Hub 15 SP5 |
before 0.290.0-bp155.2.3.1 | 0.290.0-bp155.2.3.1 |
perl-Spreadsheet-ParseXLSXopenSUSE:Leap 15.5 |
before 0.290.0-bp155.2.3.1 | 0.290.0-bp155.2.3.1 |
perl-Spreadsheet-ParseXLSXopenSUSE:Tumbleweed |
before 0.290.0-2.1 | 0.290.0-2.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2024-22368 is a medium vulnerability (CVSS 5.5) in Tozt Spreadsheet\, published January 9, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.47%, the 40th percentile. Fixed in libspreadsheet-parsexlsx-perl 0.27-3+deb12u1.
References
github.com/haile01/perl_spreadsheet_excel_rce_poc/blob/main/parse_xlsx_bomb.md
metacpan.org/dist/Spreadsheet-ParseXLSX/changes
openwall.com/lists/oss-security/2024/01/10/2
lists.debian.org/debian-lts-announce/2024/01/msg00018.html
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WNJVC4C5C5V44DNOZ5BHVU53CDXPB2OJ
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6R7NYWVVZYDZIQC5YEXNHZM6VEE26SJV
Show 13 moreShow less
security.metacpan.org/2024/02/10/vulnerable-spreadsheet-parsing-modules.html
lists.fedoraproject.org/archives/list/[email protected]/message/6R7NYWVVZYDZIQC5YEXNHZM6VEE26SJV
lists.fedoraproject.org/archives/list/[email protected]/message/WNJVC4C5C5V44DNOZ5BHVU53CDXPB2OJ
nvd.nist.gov/vuln/detail/CVE-2024-22368
github.com/advisories/GHSA-x2hg-844v-frvh
security-tracker.debian.org/tracker/CVE-2024-22368
ubuntu.com/security/CVE-2024-22368
cve.org/CVERecord?id=CVE-2024-22368
ubuntu.com/security/notices/USN-6769-1
ubuntu.com/security/CVE-2024-23525
lists.opensuse.org/archives/list/[email protected]/thread/EHHPL7IKGNQCRM3NOTRZRDYWT4OKW47L
bugzilla.suse.com/1218651
suse.com/security/cve/CVE-2024-22368