Skip to main content
Packagist (PHP)

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.

11 Vulnerabilities

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.

11
Total
2
Critical
9
High
0
Medium
0
Low

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 / GHSASeverity
CVE-2024-45048
XXE in PHPSpreadsheet encoding is returned
Affected
1.0.0, 1.0.0-beta, 1.0.0-beta2, 1.1.0 (+45 more)
Fixed in
1.29.1, 2.2.1, 2.1.1
HIGH
CVE-2026-34084
PhpSpreadsheet has SSRF/RCE in IOFactory::load when $filename is user controlled
Affected
4.0.0, 4.1.0, 4.2.0, 4.3.0 (+115 more)
Fixed in
5.6.0, 3.10.4, 2.4.4 (+2 more)
CRITICAL
CVE-2026-108359
PhpSpreadsheet ODS Reader: Unbounded number-rows-repeated → CPU & Memory Exhaustion (DoS)
Affected
4.0.0, 4.1.0, 4.2.0, 4.3.0 (+136 more)
Fixed in
5.10.0, 3.10.8, 2.4.8 (+2 more)
HIGH
CVE-2026-59933
PHPSpreadsheet: XLS/OLE sector-chain self-loop causes memory exhaustion
Affected
4.0.0, 4.1.0, 4.2.0, 4.3.0 (+130 more)
Fixed in
5.8.1, 3.10.7, 2.4.7 (+2 more)
HIGH
CVE-2026-59932
PHPSpreadsheet: Gnumeric reader unbounded gzip expansion causes memory exhaustion
Affected
4.0.0, 4.1.0, 4.2.0, 4.3.0 (+130 more)
Fixed in
5.8.1, 3.10.7, 2.4.7 (+2 more)
HIGH
CVE-2026-108358
PhpSpreadsheet: XmlScanner Bypass via ISO-2022 Escape Sequences Allows XXE and Denial of Service
Affected
4.0.0, 4.1.0, 4.2.0, 4.3.0 (+136 more)
Fixed in
5.10.0, 3.10.8, 2.4.8 (+2 more)
HIGH
CVE-2026-59931
PHPSpreadsheet: SSRF bypass via HTTP redirect in WEBSERVICE() domain whitelist
Affected
4.0.0, 4.1.0, 4.2.0, 4.3.0 (+130 more)
Fixed in
5.8.1, 3.10.7, 2.4.7 (+2 more)
HIGH
CVE-2026-108357
PhpSpreadsheet: XmlScanner Bypass via Double-Encoded unentity() TOCTOU Allows XXE and Denial of Service
Affected
4.0.0, 4.1.0, 4.2.0, 4.3.0 (+32 more)
Fixed in
5.10.0, 3.10.8
HIGH
CVE-2026-40863
PhpSpreadsheet has CPU Denial of Service via Unbounded Row Index in SpreadsheetML XML Reader
Affected
4.0.0, 4.1.0, 4.2.0, 4.3.0 (+122 more)
Fixed in
5.7.0, 3.10.5, 2.4.5 (+2 more)
HIGH
CVE-2026-40902
PhpSpreadsheet has CPU Denial of Service via Unbounded Row Number in XLSX Row Dimensions
Affected
4.0.0, 4.1.0, 4.2.0, 4.3.0 (+120 more)
Fixed in
5.7.0, 3.10.5, 2.4.5 (+2 more)
HIGH
CVE-2026-45034
PHPSpreadsheet has a patch bypass for CVE-2026-34084
Affected
1.0.0, 1.0.0-beta, 1.0.0-beta2, 1.1.0 (+58 more)
Fixed in
1.30.5
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.

Data from OSV DatabaseUpdated daily200K+ vulnerabilities indexed