CYBER CODE RED

Get real-time updates on Telegram

P4

CVE-2026-40863: phpspreadsheet before 1.30.4 (exclusive), from 2.0.0 (inclusive), before 2.1.16 (exclusive), from 2.2.0 (inclusive)…

CVE-2026-40863 affects phpoffice/phpspreadsheet. CVSS 3.1 base score 7.5 (HIGH, Vendor/CNA). EPSS 0.00395 (percentile 0.33476), scored 26-Oct-2026. Affected range: >= 4.0.0, <= 5.6.0. Fixed version: 5.7.0. Affected range: >= 3.3.0, <= 3.10.4. Fixed version: 3.10.5. Affected range: >= 2.2.0, <= 2.4.4. Fixed version: 2.4.5. Affected range: >= 2.0.0, <= 2.1.15. Fixed version: 2.1.16. Affected range: <= 1.30.5. Fixed version: 1.30.6.

Affected technology

phpspreadsheet · before 1.30.4 (exclusive)
phpoffice

phpspreadsheet · from 2.0.0 (inclusive), before 2.1.16 (exclusive)
phpoffice

phpspreadsheet · from 2.2.0 (inclusive), before 2.4.5 (exclusive)
phpoffice

phpspreadsheet · from 3.3.0 (inclusive), before 3.10.5 (exclusive)
phpoffice

phpspreadsheet · from 4.0.0 (inclusive), before 5.7.0 (exclusive)
phpoffice

PhpSpreadsheet · < 1.30.4, >= 2.0.0, < 2.1.16, >= 2.2.0, < 2.4.5, >= 3.3.0, < 3.10.5, >= 4.0.0, < 5.7.0
PHPOffice

Component: Not specified by the source

Attack conditions (Vendor/CNA, CVSS 3.1): Network (remote) · No privileges required · No user interaction required

What an attacker can do

An attacker can craft a SpreadsheetML XML file with ss:Index="999999999" on a element, which inflates the internal cachedHighestRow to ~1 billion. Vendor/CNA’s CVSS 3.1 assessment (base score 7.5/10) rates confidentiality and integrity impact as none; availability impact as high.

Published

CWE
CWE-770
Product
phpoffice/phpspreadsheet
CCR priority
30.1 /100 (P4)
CVSS 3.1
7.5 /10 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H · Vendor/CNA
EPSS
0.00395 · percentile 0.34247 · 2026-11-15
KEV
no

Provenance

Stable permalink: https://cybercodered.org/item/cve-cve-2026-40863.html