{"answers":{"affected":"10 open source packages ship an affected version, including phpoffice/phpspreadsheet.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-108359 exists.","fix":"Upgrade phpoffice/phpspreadsheet to a fixed version for your release line: 1.30.7, 2.1.19, 2.4.8 or 3.10.8.","what":"CVE-2026-108359 is a high-severity vulnerability in PHPOffice PhpSpreadsheet, published on 22 Oct 2026."},"fix_prompt":"Check this codebase for CVE-2026-108359 and fix it if it is affected.\n\nWhat it is: CVE-2026-108359 is a high-severity vulnerability in PHPOffice PhpSpreadsheet, published on 22 Oct 2026. \nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-108359 exists.\n\nAffected packages and fixed versions:\n- phpoffice/phpspreadsheet (Packagist): affected all versions; fixed in 1.30.7\n- phpoffice/phpspreadsheet (Packagist): affected all versions; fixed in 1.30.7\n- phpoffice/phpspreadsheet (Packagist): affected from 2.0.0; fixed in 2.1.19\n- phpoffice/phpspreadsheet (Packagist): affected from 2.0.0; fixed in 2.1.19\n- phpoffice/phpspreadsheet (Packagist): affected from 2.2.0; fixed in 2.4.8\n- phpoffice/phpspreadsheet (Packagist): affected from 2.2.0; fixed in 2.4.8\n- phpoffice/phpspreadsheet (Packagist): affected from 3.3.0; fixed in 3.10.8\n- phpoffice/phpspreadsheet (Packagist): affected from 3.3.0; fixed in 3.10.8\n- phpoffice/phpspreadsheet (Packagist): affected from 4.0.0; fixed in 5.10.0\n- phpoffice/phpspreadsheet (Packagist): affected from 4.0.0; fixed in 5.10.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-108359/ (Markdown: https://insights.sbomify.com/CVE-2026-108359/index.md)","id":"CVE-2026-108359","markdown":"https://insights.sbomify.com/CVE-2026-108359/index.md","name":"CVE-2026-108359","record":{"aliases":["GHSA-j2w7-387v-m2rq"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[],"cvss":{"score":8.7,"severity":"high","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-789","name":"Memory Allocation with Excessive Size Value"},{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"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.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"PhpSpreadsheet ODS Reader: Unbounded number-rows-repeated → CPU \u0026 Memory Exhaustion (DoS)","id":"CVE-2026-108359","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":null,"year":"2026"},"n_packages":10,"n_references":11,"next":{"headline":"PhpSpreadsheet: SSRF whitelist bypass via unre-validated HTTP redirect in Drawing::setPath external image loading","id":"CVE-2026-108360"},"packages":[{"ecosystem":"Packagist","fixed":["1.30.7"],"introduced":["0"],"last_affected":[],"package":"phpoffice/phpspreadsheet","purl":null,"source":"GHSA-j2w7-387v-m2rq"},{"ecosystem":"Packagist","fixed":["1.30.7"],"introduced":["0"],"last_affected":[],"package":"phpoffice/phpspreadsheet","purl":"pkg:composer/phpoffice/phpspreadsheet","source":"GHSA-j2w7-387v-m2rq"},{"ecosystem":"Packagist","fixed":["2.1.19"],"introduced":["2.0.0"],"last_affected":[],"package":"phpoffice/phpspreadsheet","purl":null,"source":"GHSA-j2w7-387v-m2rq"},{"ecosystem":"Packagist","fixed":["2.1.19"],"introduced":["2.0.0"],"last_affected":[],"package":"phpoffice/phpspreadsheet","purl":"pkg:composer/phpoffice/phpspreadsheet","source":"GHSA-j2w7-387v-m2rq"},{"ecosystem":"Packagist","fixed":["2.4.8"],"introduced":["2.2.0"],"last_affected":[],"package":"phpoffice/phpspreadsheet","purl":null,"source":"GHSA-j2w7-387v-m2rq"},{"ecosystem":"Packagist","fixed":["2.4.8"],"introduced":["2.2.0"],"last_affected":[],"package":"phpoffice/phpspreadsheet","purl":"pkg:composer/phpoffice/phpspreadsheet","source":"GHSA-j2w7-387v-m2rq"},{"ecosystem":"Packagist","fixed":["3.10.8"],"introduced":["3.3.0"],"last_affected":[],"package":"phpoffice/phpspreadsheet","purl":null,"source":"GHSA-j2w7-387v-m2rq"},{"ecosystem":"Packagist","fixed":["3.10.8"],"introduced":["3.3.0"],"last_affected":[],"package":"phpoffice/phpspreadsheet","purl":"pkg:composer/phpoffice/phpspreadsheet","source":"GHSA-j2w7-387v-m2rq"},{"ecosystem":"Packagist","fixed":["5.10.0"],"introduced":["4.0.0"],"last_affected":[],"package":"phpoffice/phpspreadsheet","purl":null,"source":"GHSA-j2w7-387v-m2rq"},{"ecosystem":"Packagist","fixed":["5.10.0"],"introduced":["4.0.0"],"last_affected":[],"package":"phpoffice/phpspreadsheet","purl":"pkg:composer/phpoffice/phpspreadsheet","source":"GHSA-j2w7-387v-m2rq"}],"prev":{"headline":"PhpSpreadsheet: XmlScanner Bypass via ISO-2022 Escape Sequences Allows XXE and Denial of Service","id":"CVE-2026-108358"},"products":["PhpSpreadsheet"],"published":"2026-10-22","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-29","vendors":["PHPOffice"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-108359/"}