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

- Severity: High 8.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.66%, higher than 52% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-22T17:32:49.724Z
- Modified: 2026-10-29T12:17:09.343Z
- Also known as: GHSA-j2w7-387v-m2rq
- Weaknesses: CWE-400, CWE-789
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- PHPOffice PhpSpreadsheet: < 1.30.7; >= 2.0.0, < 2.1.19; >= 2.2.0, < 2.4.8; >= 3.3.0, < 3.10.8; >= 4.0.0, < 5.10.0
- phpoffice/phpspreadsheet (Packagist): from 4.0.0 before 5.10.0; from 3.3.0 before 3.10.8; from 2.2.0 before 2.4.8; from 2.0.0 before 2.1.19; before 1.30.7

## Every score

- GitHub_M: CVSS:4.0 8.7 High `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`
- GitHub: CVSS:4.0 High `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`

## References

- <https://github.com/PHPOffice/PhpSpreadsheet/security/advisories/GHSA-j2w7-387v-m2rq> (exploit, web)
- <https://github.com/PHPOffice/PhpSpreadsheet/commit/299993894dce37aa3b64aa23e9a3f4bb77ab0e66> (web)
- <https://github.com/PHPOffice/PhpSpreadsheet/commit/2de29384aa11223ee08136c0e6a9e9981bc1a2eb> (web)
- <https://github.com/PHPOffice/PhpSpreadsheet/commit/980b5c294493856f1a25754f1e8a1d2185b93738> (web)
- <https://github.com/PHPOffice/PhpSpreadsheet/commit/9a0b48622ebfe93fa48cb9bc09ce57303bb07af9> (web)
- <https://github.com/PHPOffice/PhpSpreadsheet/commit/da13f40e8760d599b0e8a296017d4b028b20e86c> (web)
- <https://github.com/PHPOffice/PhpSpreadsheet/releases/tag/1.30.7> (web)
- <https://github.com/PHPOffice/PhpSpreadsheet/releases/tag/2.1.19> (web)
- <https://github.com/PHPOffice/PhpSpreadsheet/releases/tag/2.4.8> (web)
- <https://github.com/PHPOffice/PhpSpreadsheet/releases/tag/3.10.8> (web)
- <https://github.com/PHPOffice/PhpSpreadsheet/releases/tag/5.10.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-108359> (advisory)
- <https://github.com/PHPOffice/PhpSpreadsheet> (package)

## Sources

- CVE List: [CVE-2026-108359](https://www.cve.org/CVERecord?id=CVE-2026-108359), CVE Terms of Use, modified 2026-10-29
- GitHub Advisory Database: [GHSA-j2w7-387v-m2rq](https://github.com/advisories/GHSA-j2w7-387v-m2rq), CC-BY-4.0, modified 2026-10-27
- NVD: [CVE-2026-108359](https://nvd.nist.gov/vuln/detail/CVE-2026-108359), Public domain, modified 2026-10-29

---

Page: https://cve.day/CVE-2026-108359 · Whole record: https://cve.day/CVE-2026-108359.json · Rebuilt by cve.day 2026-11-25T22:59:46.795Z
