1. Accueil
  2. Vulnérabilités
  3. CVE-2026-40863

CVE-2026-40863

PhpSpreadsheet is a pure PHP library for reading and writing spreadsheet files. Prior to 1.30.4, 2.1.16…

Publiée le 12 mai 2026 · modifiée le 26 oct. 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Moyen 42/100

Résumé

PhpSpreadsheet is a pure PHP library for reading and writing spreadsheet files. Prior to 1.30.4, 2.1.16, 2.4.5, 3.10.5, and 5.7.0, the SpreadsheetML XML reader (Reader\Xml) does not validate the ss:Index row attribute against the maximum allowed row count (AddressRange::MAX_ROW = 1,048,576). An attacker can craft a SpreadsheetML XML file with ss:Index="999999999" on a <Row> element, which inflates the internal cachedHighestRow to ~1 billion. Any subsequent call to getRowIterator() without an explicit end row will attempt to iterate ~1 billion rows, causing CPU exhaustion and denial of service. This vulnerability is fixed in 1.30.4, 2.1.16, 2.4.5, 3.10.5, and 5.7.0.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Packagist (5 ligne(s))
Packagist
ProduitVersionsCorrigé dansSource
phpoffice/phpspreadsheet de 4.0.0 (inclus) à 5.7.0 (exclu) 5.7.0 GitHub Advisory
phpoffice/phpspreadsheet de 3.3.0 (inclus) à 3.10.5 (exclu) 3.10.5 GitHub Advisory
phpoffice/phpspreadsheet de 2.2.0 (inclus) à 2.4.5 (exclu) 2.4.5 GitHub Advisory
phpoffice/phpspreadsheet de 2.0.0 (inclus) à 2.1.16 (exclu) 2.1.16 GitHub Advisory
phpoffice/phpspreadsheet avant 1.30.6 (exclu) 1.30.6 GitHub Advisory
Phpoffice (5 ligne(s))
Phpoffice
ProduitVersionsCorrigé dansSource
Phpspreadsheet avant 1.30.4 (exclu) — NVD
Phpspreadsheet de 2.0.0 (inclus) à 2.1.16 (exclu) — NVD
Phpspreadsheet de 2.2.0 (inclus) à 2.4.5 (exclu) — NVD
Phpspreadsheet de 3.3.0 (inclus) à 3.10.5 (exclu) — NVD
Phpspreadsheet de 4.0.0 (inclus) à 5.7.0 (exclu) — NVD

Correctif

Mise à jour — Packagist/phpoffice/phpspreadsheet 5.7.0; Packagist/phpoffice/phpspreadsheet 3.10.5; Packagist/phpoffice/phpspreadsheet 2.4.5; Packagist/phpoffice/phpspreadsheet 2.1.16; Packagist/phpoffice/phpspreadsheet 1.30.6source officielle

Source : GitHub Advisory

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Avis CERT-FR

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
NVD
Score CVSS
CNA (éditeur ou attributeur)
Faiblesse (CWE)
CNA (éditeur ou attributeur)
Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1, CNA:security-advisories@github.com)
Faiblesse
CWE-770 · Autre (CWE-770)

Comment sont obtenues et calculées ces données