CVE-2026-40902
1 advisory.
Packagist/phpoffice/phpspreadsheet CVE-2026-40902: high 7.5
PhpSpreadsheet has CPU Denial of Service via Unbounded Row Number in XLSX Row Dimensions
Action: Upgrade phpoffice/phpspreadsheet to 1.30.4 or later.
composer require phpoffice/phpspreadsheet:5.7.0composer require phpoffice/phpspreadsheet:3.10.5composer require phpoffice/phpspreadsheet:2.4.5composer require phpoffice/phpspreadsheet:2.1.16composer require phpoffice/phpspreadsheet:1.30.4Affected
| introduced | fixed | last affected |
|---|---|---|
| 4.0.0 | 5.7.0 | - |
| 3.3.0 | 3.10.5 | - |
| 2.2.0 | 2.4.5 | - |
| 2.0.0 | 2.1.16 | - |
| 0 | 1.30.4 | - |
Fixed versions
| 5.7.0 | 3.10.5 | 2.4.5 | 2.1.16 | 1.30.4 |
Sources
- osv: GHSA-7c6m-4442-2x6m
- https://github.com/PHPOffice/PhpSpreadsheet/security/advisories/GHSA-7c6m-4442-2x6m
- https://nvd.nist.gov/vuln/detail/CVE-2026-40902
- https://github.com/PHPOffice/PhpSpreadsheet
CVE-2026-40902 · published · modified · JSON