Resource exhaustion in Exceljs
CVE-2026-128338
exceljs through 4.4.0 contains a memory exhaustion vulnerability that allows attackers to crash applications by supplying a worksheet col element with an unbounded max attribute. Attackers can craft a small workbook with a huge max value, causing xlsx.load() to allocate hundreds of millions of Column objects and abort the process with an uncatchable heap out-of-memory error.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.005, 46.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- github.com/exceljs/exceljs (product)
- github.com/mateocallec/exceljs-hardened/security/advisories/GHSA-w57r-3mm6-w6g7 (third-party-advisory)
- github.com/exceljs/exceljs/blob/v4.4.0/lib/doc/column.js (technical-description)
- github.com/exceljs/exceljs/blob/v4.4.0/lib/xlsx/xform/sheet/col-xform.js (technical-description)
- www.vulncheck.com/advisories/exceljs-through-4.4.0-memory-exhaustion-via-unboun… (third-party-advisory)