Intel

AIKIDO-2026-255817

phpoffice/phpspreadsheet is vulnerable to Denial of Service (DoS)

CVE-2026-59933Published Jul 23, 2026
July 23, 2026

75

CVE Score

High

Denial of Service (DoS)

Are you affected? Scan for Free

TL;DR

The OLE reader used by the XLS reader follows sector chains from attacker-controlled OLE metadata without detecting cycles or bounding the chain length. A tiny malformed .xls/OLE file can point the small-block depot sector chain back to itself, causing the reader to append the same sector data repeatedly until memory is exhausted. This is reachable during automatic file-type detection in canRead(), so untrusted uploads can trigger denial of service. The fix tracks visited blocks and throws a reader exception when a loop is detected.

How do I fix this?

Upgrade the phpoffice/phpspreadsheet library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application parses untrusted spreadsheet files.

Versions

0.0.1 - 1.30.5

Fixed in 1.30.6

2.0.0 - 2.1.17

Fixed in 2.1.18

2.2.0 - 2.4.6

Fixed in 2.4.7

3.3.0 - 3.10.6

Fixed in 3.10.7

4.0.0 - 5.8.0

Fixed in 5.8.1

Background info

phpoffice/phpspreadsheet is vulnerable to Denial of Service (DoS) in versions 4.0.0 - 5.8.0, 3.3.0 - 3.10.6, 2.2.0 - 2.4.6, 2.0.0 - 2.1.17 and 0.0.1 - 1.30.5.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea