CYBER CODE RED

Get real-time updates on Telegram

P4

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

CVE-2026-40902. CVSS 3.1 base score 7.5 (HIGH, Vendor/CNA). EPSS 0.00395 (percentile 0.33446), scored 25-Oct-2026.

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 minimal XLSX file (~1.6KB) containing a element that inflates cachedHighestRow to 999,999,999, causing any subsequent row iteration to attempt ~1 billion loop cycles and exhaust CPU resources. 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
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.34248 · 2026-11-15
KEV
no

Provenance

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