phpoffice/phpspreadsheet Known Vulnerabilities & Fixes
phpoffice/phpspreadsheet has 11 known security vulnerabilities in Packagist (PHP). Upgrade to version 5.10.0 or later to resolve all known issues. Data sourced from OSV, enriched with EPSS exploit probability and CISA KEV.
Low Immediate Risk
No actively exploited vulnerabilities detected. Monitor and update in your next maintenance window.
Recommended safe version: 5.10.0
Upgrading to 5.10.0 or later resolves all 11 known vulnerabilities in phpoffice/phpspreadsheet. Run: composer require phpoffice/phpspreadsheet:^5.10.0
Is phpoffice/phpspreadsheet in your project?
Check if you're affected and upgrade to 5.10.0 to stay secure.
Security Summary
- 46 affected version ranges have been identified across these 11 advisories.
- 100% of known issues have a published fixed version.
- Highest exploit-probability (EPSS) score for phpoffice/phpspreadsheet: 0.9%.
- Remediation: composer update phpoffice/phpspreadsheet
Vulnerabilities
11 unique vulnerabilities — sorted by exploitation risk (KEV → EPSS → CVSS). Click a CVE/GHSA ID for full details. First disclosed Aug 29, 2024, most recently Oct 27, 2026 (789 days apart).
| CVE / GHSA | Severity |
|---|---|
| CVE-2024-45048 XXE in PHPSpreadsheet encoding is returned
| HIGH |
| CVE-2026-34084 PhpSpreadsheet has SSRF/RCE in IOFactory::load when $filename is user controlled
| CRITICAL |
| CVE-2026-108359 PhpSpreadsheet ODS Reader: Unbounded number-rows-repeated → CPU & Memory Exhaustion (DoS)
| HIGH |
| CVE-2026-59933 PHPSpreadsheet: XLS/OLE sector-chain self-loop causes memory exhaustion
| HIGH |
| CVE-2026-59932 PHPSpreadsheet: Gnumeric reader unbounded gzip expansion causes memory exhaustion
| HIGH |
| CVE-2026-108358 PhpSpreadsheet: XmlScanner Bypass via ISO-2022 Escape Sequences Allows XXE and Denial of Service
| HIGH |
| CVE-2026-59931 PHPSpreadsheet: SSRF bypass via HTTP redirect in WEBSERVICE() domain whitelist
| HIGH |
| CVE-2026-108357 PhpSpreadsheet: XmlScanner Bypass via Double-Encoded unentity() TOCTOU Allows XXE and Denial of Service
| HIGH |
| CVE-2026-40863 PhpSpreadsheet has CPU Denial of Service via Unbounded Row Index in SpreadsheetML XML Reader
| HIGH |
| CVE-2026-40902 PhpSpreadsheet has CPU Denial of Service via Unbounded Row Number in XLSX Row Dimensions
| HIGH |
| CVE-2026-45034 PHPSpreadsheet has a patch bypass for CVE-2026-34084
| CRITICAL |
About This Data
Vulnerability data for phpoffice/phpspreadsheet is sourced from the Open Source Vulnerability (OSV) database, aggregating reports from GitHub Advisory Database, NIST NVD, and ecosystem-specific sources.
CVSS (Common Vulnerability Scoring System) scores reflect exploitability and impact. EPSS (Exploit Prediction Scoring System) scores indicate the probability of exploitation within the next 30 days. Vulnerabilities marked with are listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
Related Packagist (PHP) Packages
Other packages in this ecosystem, ranked by shared vulnerabilities where available.
Check Your Dependencies
Scan your project to check if you're using a vulnerable version of phpoffice/phpspreadsheet.