CVE-2026-108359: PhpSpreadsheet ODS Reader · Unbounded number-rows-repeated → CPU & Memory Exhaustion (DoS)
Affects phpoffice/phpspreadsheetSource GCVE Database
Not known to be exploited · CVSS 8.7 High : upgrade to 5.10.0 soon.
Data as of 27 Oct 2026, 16:28 UTC
- Patch
- Available – fixed in 5.10.0, 3.10.8, 2.4.8 +2
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 22 Oct 2026
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
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Packagistphpoffice/phpspreadsheet | Affected
| Fixed in
|
| Packagistphpoffice/phpspreadsheet | Affected
| Fixed in
|
| Packagistphpoffice/phpspreadsheet | Affected
| Fixed in
|
| Packagistphpoffice/phpspreadsheet | Affected
| Fixed in
|
| Packagistphpoffice/phpspreadsheet | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available and should be applied. Fixed versions include 5.10.0, 3.10.8, 2.4.8, 2.1.19, and 1.30.7. Upgrading to one of these versions will mitigate the vulnerability. Until patched, avoid loading untrusted .ods files or implement application-level limits on file processing.
Description
PhpSpreadsheet's ODS reader has an unbounded number-rows-repeated attribute handling flaw that can cause memory exhaustion. When processing an OpenDocument Spreadsheet (.ods) file, the reader expands the number-rows-repeated attribute without an upper bound, potentially materializing millions of cells from a small file. This leads to PHP fatal out-of-memory errors. All maintained versions up to 5.9.0 are affected. The vulnerability is fixed in versions 5.10.0, 3.10.8, 2.4.8, 2.1.19, and 1.30.7.
References
- github.com/PHPOffice/PhpSpreadsheet/security/advisories/GHSA-j2w7-387v-m2rq (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-108359 (opens in a new tab)
- github.com/PHPOffice/PhpSpreadsheet/commit/299993894dce37aa3b64aa23e9a3f4bb77ab0e66 (opens in a new tab)
- github.com/PHPOffice/PhpSpreadsheet/commit/2de29384aa11223ee08136c0e6a9e9981bc1a2eb (opens in a new tab)
- github.com/PHPOffice/PhpSpreadsheet/commit/980b5c294493856f1a25754f1e8a1d2185b93738 (opens in a new tab)
- github.com/PHPOffice/PhpSpreadsheet/commit/9a0b48622ebfe93fa48cb9bc09ce57303bb07af9 (opens in a new tab)
- github.com/PHPOffice/PhpSpreadsheet/commit/da13f40e8760d599b0e8a296017d4b028b20e86c (opens in a new tab)
- github.com/PHPOffice/PhpSpreadsheet (opens in a new tab)
- github.com/PHPOffice/PhpSpreadsheet/releases/tag/1.30.7 (opens in a new tab)
- github.com/PHPOffice/PhpSpreadsheet/releases/tag/2.1.19 (opens in a new tab)
- github.com/PHPOffice/PhpSpreadsheet/releases/tag/2.4.8 (opens in a new tab)
- github.com/PHPOffice/PhpSpreadsheet/releases/tag/3.10.8 (opens in a new tab)
- github.com/PHPOffice/PhpSpreadsheet/releases/tag/5.10.0 (opens in a new tab)