Infinite loop Affecting phpoffice/phpspreadsheet package, versions <1.30.6>=2.0.0, <2.1.18>=2.2.0, <2.4.7>=3.3.0, <3.10.7>=4.0.0, <5.8.1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.69% (50th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PHP-PHPOFFICEPHPSPREADSHEET-18307198
  • published25 Jul 2026
  • disclosed23 Jul 2026
  • creditUnknown

Introduced: 23 Jul 2026

NewCVE-2026-59933  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade phpoffice/phpspreadsheet to version 1.30.6, 2.1.18, 2.4.7, 3.10.7, 5.8.1 or higher.

Overview

phpoffice/phpspreadsheet is a Spreadsheet engine that Read, Create and Write Spreadsheet documents in PHP .

Affected versions of this package are vulnerable to Infinite loop through the read function. An attacker can cause the application to exhaust system memory and crash by submitting a specially crafted XLS/OLE file containing a self-referential sector chain, leading to repeated data processing without termination.

CVSS Base Scores

version 4.0
version 3.1