Live threats

All CVEs / PHPOffice

CVE-2026-108359PHPOffice PhpSpreadsheet

High 8.7 No auth needed

Priority
67
CVSS 4.0
8.7
EPSS
—
Auth required
No
Published
Oct 22, 2026
Updated
Oct 29, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-400, CWE-789
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: partial
Vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

PhpSpreadsheet is a pure PHP library for reading and writing spreadsheet files. Prior to 1.30.7, 2.1.19, 2.4.8, 3.10.8, and 5.10.0, Ods::processTableRow in src/PhpSpreadsheet/Reader/Ods.php accepts an unbounded table:number-rows-repeated attribute from an ODS table row. When the row contains a value, the reader materializes a cell for every repetition without checking the spreadsheet row limit, so a small attacker-controlled ODS file can consume substantial CPU and memory and terminate the PHP worker. Column repetition is separately bounded and is not part of this vulnerability. This issue is fixed in versions 1.30.7, 2.1.19, 2.4.8, 3.10.8, and 5.10.0.

Original NVD text.

What to do

  1. Apply the vendor's security update for PhpSpreadsheet.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist phpoffice/phpspreadsheet ≥ 4.0.0 < 5.10.0 5.10.0 composer require "phpoffice/phpspreadsheet:^5.10.0"
Packagist phpoffice/phpspreadsheet ≥ 3.3.0 < 3.10.8 3.10.8 composer require "phpoffice/phpspreadsheet:^3.10.8"
Packagist phpoffice/phpspreadsheet ≥ 2.2.0 < 2.4.8 2.4.8 composer require "phpoffice/phpspreadsheet:^2.4.8"
Packagist phpoffice/phpspreadsheet ≥ 2.0.0 < 2.1.19 2.1.19 composer require "phpoffice/phpspreadsheet:^2.1.19"
Packagist phpoffice/phpspreadsheet < 1.30.7 1.30.7 composer require "phpoffice/phpspreadsheet:^1.30.7"

Per OSV / GitHub Advisories (GHSA-j2w7-387v-m2rq). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.