Skip to main content
VulnerabilityPublished

CVE-2026-108359: PhpSpreadsheet ODS Reader · Unbounded number-rows-repeated → CPU & Memory Exhaustion (DoS)

Affects phpoffice/phpspreadsheetSource GCVE Database

0
Authoritative record:CVE-2026-108359· High 8.7

Not known to be exploited · CVSS 8.7 High : upgrade to 5.10.0 soon.

Data as of 27 Oct 2026, 16:28 UTC

CVSS 4.0 base score
8.7High
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 22 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Packagistphpoffice/phpspreadsheetAffected
  • >=4.0.0 <5.10.0
Fixed in
  • 5.10.0
Packagistphpoffice/phpspreadsheetAffected
  • >=3.3.0 <3.10.8
Fixed in
  • 3.10.8
Packagistphpoffice/phpspreadsheetAffected
  • >=2.2.0 <2.4.8
Fixed in
  • 2.4.8
Packagistphpoffice/phpspreadsheetAffected
  • >=2.0.0 <2.1.19
Fixed in
  • 2.1.19
Packagistphpoffice/phpspreadsheetAffected
  • <1.30.7
Fixed in
  • 1.30.7

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

Community reviews

Loading reviews…