{"dataType": "CVE_RECORD", "containers": {"cna": {"metrics": [{"format": "CVSS", "cvssV3_1": {"scope": "UNCHANGED", "version": "3.1", "baseScore": 7.5, "attackVector": "NETWORK", "baseSeverity": "HIGH", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", "integrityImpact": "NONE", "userInteraction": "NONE", "attackComplexity": "LOW", "availabilityImpact": "HIGH", "privilegesRequired": "NONE", "confidentialityImpact": "NONE"}}], "affected": [{"cpes": ["cpe:2.3:a:phpoffice:phpspreadsheet:*:*:*:*:*:*:*:*"], "vendor": "phpoffice", "product": "phpspreadsheet", "versions": [{"status": "affected", "version": "0", "lessThan": "1.30.4", "versionType": "custom"}, {"status": "affected", "version": "2.0.0", "lessThan": "2.1.16", "versionType": "custom"}, {"status": "affected", "version": "2.2.0", "lessThan": "2.4.5", "versionType": "custom"}, {"status": "affected", "version": "3.3.0", "lessThan": "3.10.5", "versionType": "custom"}, {"status": "affected", "version": "4.0.0", "lessThan": "5.7.0", "versionType": "custom"}], "defaultStatus": "unaffected"}], "references": [{"url": "https://github.com/PHPOffice/PhpSpreadsheet/security/advisories/GHSA-7c6m-4442-2x6m", "tags": ["exploit", "mitigation", "vendor-advisory"]}], "descriptions": [{"lang": "en", "value": "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 XLSX reader's ColumnAndRowAttributes::readRowAttributes() method reads row numbers from XML attributes without validating them against the spreadsheet maximum row limit (AddressRange::MAX_ROW = 1,048,576). An attacker can craft a minimal XLSX file (~1.6KB) containing a <row r=\"999999999\"/> element that inflates cachedHighestRow to 999,999,999, causing any subsequent row iteration to attempt ~1 billion loop cycles and exhaust CPU resources. This vulnerability is fixed in 1.30.4, 2.1.16, 2.4.5, 3.10.5, and 5.7.0."}, {"lang": "es", "value": "PhpSpreadsheet es una biblioteca PHP pura para leer y escribir archivos de hoja de cálculo. Antes de 1.30.4, 2.1.16, 2.4.5, 3.10.5 y 5.7.0, el método ColumnAndRowAttributes::readRowAttributes() del lector XLSX lee números de fila de atributos XML sin validarlos contra el límite máximo de filas de la hoja de cálculo (AddressRange::MAX_ROW = 1.048.576). Un atacante puede crear un archivo XLSX mínimo (~1,6KB) que contenga un elemento <row r=’999999999’/> que infla cachedHighestRow a 999.999.999, lo que hace que cualquier iteración de fila posterior intente ~1.000 millones de ciclos de bucle y agote los recursos de la CPU. Esta vulnerabilidad está corregida en 1.30.4, 2.1.16, 2.4.5, 3.10.5 y 5.7.0."}], "problemTypes": [{"descriptions": [{"lang": "en", "cweId": "CWE-770", "description": "CWE-770"}]}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000003", "shortName": "nvd", "dateUpdated": "2026-05-12T22:16:33Z", "x_subShortName": "nvd"}}}, "cveMetadata": {"cveId": "CVE-2026-40902", "state": "PUBLISHED", "dateUpdated": "2026-10-26T14:10:00Z", "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa", "datePublished": "2026-05-12T22:16:33Z", "assignerShortName": "GitHub_M"}, "dataVersion": "5.0"}