CVE-2026-128338
ExcelJS through 4.4.0 Memory Exhaustion via Unbounded Worksheet Column Range
Description
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.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.webjars.npm » exceljspreliminary | <= 4.4.0 | - |
Blast radius
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
- Advisoryhttps://github.com/CVEProject/cvelistV5/tree/main/cves/2026/128xxx/CVE-2026-128338.json
- Advisoryhttps://github.com/mateocallec/exceljs-hardened/security/advisories/GHSA-w57r-3mm6-w6g7
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-128338
- Advisoryhttps://www.vulncheck.com/advisories/exceljs-through-4.4.0-memory-exhaustion-via-unbounded-worksheet-column-range
- Packagehttps://github.com/exceljs/exceljs
- Articlehttps://github.com/exceljs/exceljs/blob/v4.4.0/lib/doc/column.js#L307-L316
- Articlehttps://github.com/exceljs/exceljs/blob/v4.4.0/lib/xlsx/xform/sheet/col-xform.js#L43-L47
