CVE-2026-59933 — Vulnerability in phpoffice/phpspreadsheet — CVE...
PHPSpreadsheet: XLS/OLE sector-chain self-loop causes memory exhaustion
Summary
Advisory Timeline
- First published July 23, 2026 (81 days ago).
- Last revised July 23, 2026 — 0 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
composer require "phpoffice/phpspreadsheet:^5.8.1"
composer require "phpoffice/phpspreadsheet:^2.1.18"
composer require "phpoffice/phpspreadsheet:^2.4.7"
composer require "phpoffice/phpspreadsheet:^3.10.7"
composer require "phpoffice/phpspreadsheet:^1.30.6"
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (5)
Affects 1 ecosystem: packagist (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| phpoffice/phpspreadsheet | packagist | 4.0.0, 4.1.0, 4.2.0, 4.3.0 (+12 more) | 5.8.1 |
| phpoffice/phpspreadsheet | packagist | 2.0.0, 2.1.0, 2.1.1, 2.1.10 (+14 more) | 2.1.18 |
| phpoffice/phpspreadsheet | packagist | 2.2.0, 2.2.1, 2.2.2, 2.3.0 (+16 more) | 2.4.7 |
| phpoffice/phpspreadsheet | packagist | 3.10.0, 3.10.1, 3.10.2, 3.10.3 (+13 more) | 3.10.7 |
| phpoffice/phpspreadsheet | packagist | 1.0.0, 1.0.0-beta, 1.0.0-beta2, 1.1.0 (+59 more) | 1.30.6 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-400Uncontrolled Resource ConsumptionMITRE
- CWE-835
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/PHPOffice/PhpSpreadsheet/security/advisories/GHSA-xh5m-36r6-47m3WEB
- https://github.com/PHPOffice/PhpSpreadsheet/commit/85f2556b0bf5269061bf45932ecda8a128d81750WEB
- https://github.com/PHPOffice/PhpSpreadsheetPACKAGE
- https://github.com/PHPOffice/PhpSpreadsheet/releases/tag/1.30.6WEB
- https://github.com/PHPOffice/PhpSpreadsheet/releases/tag/2.1.18WEB
- https://github.com/PHPOffice/PhpSpreadsheet/releases/tag/2.4.7WEB
- https://github.com/PHPOffice/PhpSpreadsheet/releases/tag/3.10.7WEB
- https://github.com/PHPOffice/PhpSpreadsheet/releases/tag/5.8.1WEB
Frequently Asked Questions
- What is CVE-2026-59933?
- PHPSpreadsheet: XLS/OLE sector-chain self-loop causes memory exhaustion This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
- How do I check if my project is affected by CVE-2026-59933?
- CVE-2026-59933 affects phpoffice/phpspreadsheet. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-59933 and 200,000+ other known vulnerabilities.
Severity & Exploitability
High exploitability or significant impact. Prioritize remediation within days.
Also Known As
Related CVEs
- CVE-2026-45034CRITICAL
PHPSpreadsheet has a patch bypass for CVE-2026-34084
- CVE-2026-34084CRITICAL
PhpSpreadsheet has SSRF/RCE in IOFactory::load when $filename is user controlled
- CVE-2026-59932HIGH
PHPSpreadsheet: Gnumeric reader unbounded gzip expansion causes memory exhaustion
- CVE-2026-59931HIGH
PHPSpreadsheet: SSRF bypass via HTTP redirect in WEBSERVICE() domain whitelist
- CVE-2026-40902HIGH
PhpSpreadsheet has CPU Denial of Service via Unbounded Row Number in XLSX Row Dimensions
- CVE-2026-40863HIGH
PhpSpreadsheet has CPU Denial of Service via Unbounded Row Index in SpreadsheetML XML Reader
- CVE-2024-45048HIGH
XXE in PHPSpreadsheet encoding is returned
- CVE-2026-65954HIGH
PHPCSUtils: Remote code execution via eval() in AbstractArrayDeclarationSniff::getActualArrayKey()
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies