Resource exhaustion in PhpSpreadsheet - CVE-2026-40902

 

Resource exhaustion in PhpSpreadsheet - CVE-2026-40902

Published: October 13, 2026


Vulnerability identifier: #VU154218
CSH Severity: Medium
CVSS v4: 8.7 [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]
CVE-ID: CVE-2026-40902
CWE-ID: CWE-400
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to unbounded CPU resource consumption in XLSX row dimension processing when processing row numbers without an upper bound. A remote attacker can supply an XLSX file containing an excessively large row number to cause a denial of service.


Affected software

PhpSpreadsheet

How to mitigate CVE-2026-40902

Install security update from vendor's website.

PhpSpreadsheet - addressed in versions 1.30.4, 2.1.16, 2.4.5, 3.10.5, 5.7.0

External References

Related Security Bulletins