Home / PHPOffice / PhpSpreadsheet / CVE-2026-59932
CVE-2026-59932: is it exploited, and which versions of PHPOffice PhpSpreadsheet are affected and fixed?
CVE-2026-59932 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, 17:09 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-2mrg-gjxq-2gvr). Fixed in 5.8.1, 3.10.7, 2.4.7, 2.1.18 and 1 more (GitHub advisory GHSA-2mrg-gjxq-2gvr). Severity: High (7.5, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:09 UTC, CVE record November 19, 2026, 07:06 UTC and NVD November 19, 2026, 07:09 UTC.
What is CVE-2026-59932?
PhpSpreadsheet: Gnumeric reader unbounded gzip expansion 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 Gnumeric reader reads attacker-supplied .gnumeric files into memory and, when the file starts with gzip magic bytes, calls gzdecode() on the full compressed contents without enforcing a decompressed-size limit. A very small compressed .gnumeric file can expand to data larger than the PHP memory limit and crash the process during Gnumeric::canRead() before the file is rejected or fully parsed. This is reachable through normal file-type detection and Gnumeric loading paths, so applications that accept attacker-controlled spreadsheet uploads can suffer denial of service. 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 29, 2026, 13:56 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 29, 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-2mrg-gjxq-2gvr |
| Packagist | phpoffice/phpspreadsheet | >= 3.3.0, < 3.10.7 | 3.10.7 | GHSA-2mrg-gjxq-2gvr |
| Packagist | phpoffice/phpspreadsheet | >= 2.2.0, < 2.4.7 | 2.4.7 | GHSA-2mrg-gjxq-2gvr |
| Packagist | phpoffice/phpspreadsheet | >= 2.0.0, < 2.1.18 | 2.1.18 | GHSA-2mrg-gjxq-2gvr |
| Packagist | phpoffice/phpspreadsheet | < 1.30.6 | 1.30.6 | GHSA-2mrg-gjxq-2gvr |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated July 23, 2026. Summary: PHPSpreadsheet: Gnumeric reader unbounded gzip expansion causes memory exhaustion.
How severe is CVE-2026-59932?
| 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-59932 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: partial (CISA ADP, July 29, 2026)
- EPSS
- 0.46% probability of exploitation activity in the next 30 days, percentile 41.7 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-400 Uncontrolled Resource Consumption
- CWE-409 Improper Handling of Highly Compressed Data (Data Amplification)
Where are the vendor advisories and references?
- https://github.com/PHPOffice/PhpSpreadsheet/security/advisories/GHSA-2mrg-gjxq-2gvr 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:59 UTC
- CVE record updated
- July 29, 2026, 13:56 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, 17:09 UTC; EPSS December 3, 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-59933 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-59932
Is CVE-2026-59932 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:09 UTC. FIRST's EPSS gives it a 0.46% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of PHPOffice PhpSpreadsheet are affected by CVE-2026-59932?
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-2mrg-gjxq-2gvr. The tables above give every range the sources list.
Which version fixes CVE-2026-59932?
5.8.1, 3.10.7, 2.4.7, 2.1.18 and 1.30.6, per the GitHub advisory GHSA-2mrg-gjxq-2gvr. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-59932?
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-59932?
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.