CVE-2026-128339
ExcelJS through 4.4.0 Memory Exhaustion via Oversized Merged Cell Range
Description
ExcelJS through 4.4.0 contains a memory exhaustion vulnerability in Worksheet._parseMergeCells that allows attackers to crash applications by supplying unbounded mergeCell ranges. Attackers can craft a small workbook with a mergeCell ref like A1:XFD1048576, causing xlsx.load() to create billions of Row and Cell objects and abort the process.
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-128339.json
- Advisoryhttps://github.com/mateocallec/exceljs-hardened/security/advisories/GHSA-wh3v-83h4-rwwq
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-128339
- Advisoryhttps://www.vulncheck.com/advisories/exceljs-through-4.4.0-memory-exhaustion-via-oversized-merged-cell-range
- Reporthttps://github.com/exceljs/exceljs/issues/3107
- Fixhttps://github.com/exceljs/exceljs/pull/3114
- Packagehttps://github.com/exceljs/exceljs
- Articlehttps://github.com/exceljs/exceljs/blob/v4.4.0/lib/doc/worksheet.js#L613-L632
- Articlehttps://github.com/exceljs/exceljs/blob/v4.4.0/lib/doc/worksheet.js#L895-L901
