Home / PHPOffice / PhpSpreadsheet / CVE-2026-59933
CVE-2026-59933: is it exploited, and which versions of PHPOffice PhpSpreadsheet are affected and fixed?
CVE-2026-59933 is a denial of service (uncontrolled resource consumption) vulnerability in PHPOffice PhpSpreadsheet. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:38 UTC). Affected: phpoffice/phpspreadsheet from 4.0.0 before 5.8.1, phpoffice/phpspreadsheet from 3.3.0 before 3.10.7, phpoffice/phpspreadsheet from 2.2.0 before 2.4.7 and 2 more (GitHub advisory GHSA-xh5m-36r6-47m3). Fixed in 5.8.1, 3.10.7, 2.4.7, 2.1.18 and 1 more (GitHub advisory GHSA-xh5m-36r6-47m3). Severity: High (7.5, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:38 UTC, CVE record November 19, 2026, 07:06 UTC and NVD November 19, 2026, 07:09 UTC.
What is CVE-2026-59933?
PhpSpreadsheet: XLS/OLE sector-chain self-loop causes memory exhaustion
PhpSpreadsheet is a pure PHP library for reading and writing spreadsheet files. In versions 4.0.0 through 5.8.0, 3.3.0 through 3.10.6, 2.2.0 through 2.4.6, 2.0.0 through 2.1.17, and all releases up to and including 1.30.5, the OLE reader follows sector chains from attacker-controlled XLS/OLE metadata without detecting cycles or enforcing a maximum chain length. A tiny malformed .xls/OLE file can set the small-block depot sector chain to point back to itself. During normal XLS detection, OLERead::read() appends the same sector data repeatedly until the PHP process exhausts memory. This is reachable from Reader\Xls::canRead() and therefore from automatic spreadsheet type detection. Applications that accept attacker-controlled spreadsheet uploads can suffer denial of service from a very small file. This issue has been fixed in versions 5.8.1, 3.10.7, 2.4.7, 2.1.18 and 1.30.6.
From the CVE record by GitHub_M, last updated July 28, 2026, 17:57 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| PHPOffice | PhpSpreadsheet | >= 4.0.0, < 5.8.1 >= 3.3.0, < 3.10.7 >= 2.2.0, < 2.4.7 >= 2.0.0, < 2.1.18 < 1.30.6 |
As the CVE record by GitHub_M states it, last updated July 28, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Packagist | phpoffice/phpspreadsheet | >= 4.0.0, < 5.8.1 | 5.8.1 | GHSA-xh5m-36r6-47m3 |
| Packagist | phpoffice/phpspreadsheet | >= 3.3.0, < 3.10.7 | 3.10.7 | GHSA-xh5m-36r6-47m3 |
| Packagist | phpoffice/phpspreadsheet | >= 2.2.0, < 2.4.7 | 2.4.7 | GHSA-xh5m-36r6-47m3 |
| Packagist | phpoffice/phpspreadsheet | >= 2.0.0, < 2.1.18 | 2.1.18 | GHSA-xh5m-36r6-47m3 |
| Packagist | phpoffice/phpspreadsheet | < 1.30.6 | 1.30.6 | GHSA-xh5m-36r6-47m3 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated July 23, 2026. Summary: PHPSpreadsheet: XLS/OLE sector-chain self-loop causes memory exhaustion.
How severe is CVE-2026-59933?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-59933 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: partial (CISA ADP, July 28, 2026)
- EPSS
- 0.46% probability of exploitation activity in the next 30 days, percentile 41.7 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://github.com/PHPOffice/PhpSpreadsheet/security/advisories/GHSA-xh5m-36r6-47m3 x_refsource_CONFIRM
- https://github.com/PHPOffice/PhpSpreadsheet/commit/85f2556b0bf5269061bf45932ecda8a128d81750 x_refsource_MISC
- https://github.com/PHPOffice/PhpSpreadsheet/releases/tag/1.30.6 x_refsource_MISC
- https://github.com/PHPOffice/PhpSpreadsheet/releases/tag/2.1.18 x_refsource_MISC
- https://github.com/PHPOffice/PhpSpreadsheet/releases/tag/2.4.7 x_refsource_MISC
- https://github.com/PHPOffice/PhpSpreadsheet/releases/tag/3.10.7 x_refsource_MISC
- https://github.com/PHPOffice/PhpSpreadsheet/releases/tag/5.8.1 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- July 7, 2026
- Published
- July 28, 2026, 17:29 UTC
- CVE record updated
- July 28, 2026, 17:57 UTC by GitHub_M
- NVD
- Deferred, last modified October 23, 2026, 23:10 UTC
- Last checked
- CVE list November 19, 2026, 07:06 UTC; NVD November 19, 2026, 07:09 UTC; KEV December 3, 2026, 14:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect PhpSpreadsheet?
- Oct 22, 2026CVE-2026-108357 PHPOffice PhpSpreadsheet: XML external entity (XXE)
- Oct 22, 2026CVE-2026-108359 PHPOffice PhpSpreadsheet: denial of service (uncontrolled resource consumption)
- Oct 22, 2026CVE-2026-108358 PHPOffice PhpSpreadsheet: XML external entity (XXE)
- Oct 22, 2026CVE-2026-108360 PHPOffice PhpSpreadsheet: incorrect authorization
- Jul 28, 2026CVE-2026-59932 PHPOffice PhpSpreadsheet: denial of service (uncontrolled resource consumption)
- Jul 28, 2026CVE-2026-59931 PHPOffice PhpSpreadsheet: server-side request forgery (SSRF)
- Jun 22, 2026CVE-2026-45034 PHPOffice PhpSpreadsheet: deserialization of untrusted data
- May 12, 2026CVE-2026-40863 PHPOffice PhpSpreadsheet: denial of service (resources allocated without limits)
Questions about CVE-2026-59933
Is CVE-2026-59933 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:38 UTC. FIRST's EPSS gives it a 0.46% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of PHPOffice PhpSpreadsheet are affected by CVE-2026-59933?
phpoffice/phpspreadsheet from 4.0.0 before 5.8.1, phpoffice/phpspreadsheet from 3.3.0 before 3.10.7, phpoffice/phpspreadsheet from 2.2.0 before 2.4.7, phpoffice/phpspreadsheet from 2.0.0 before 2.1.18 and phpoffice/phpspreadsheet before 1.30.6, per the GitHub advisory GHSA-xh5m-36r6-47m3. The tables above give every range the sources list.
Which version fixes CVE-2026-59933?
5.8.1, 3.10.7, 2.4.7, 2.1.18 and 1.30.6, per the GitHub advisory GHSA-xh5m-36r6-47m3. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-59933?
High (7.5, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-59933?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.