Allocation of Resources Without Limits or Throttling Affecting exceljs-hardened package, versions <5.1.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.54% (47th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-EXCELJSHARDENED-22552474
  • published15 Nov 2026
  • disclosed13 Nov 2026
  • creditMatéo Florian Callec

Introduced: 13 Nov 2026

NewCVE-2026-128338  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade exceljs-hardened to version 5.1.0 or higher.

Overview

Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling via xlsx.load() when parsing a workbook containing a worksheet <col> element with an unbounded max attribute. For each <col min max> entry, one Column object is allocated for every column index in the range, and the upper bound is not capped at the 16,384 columns Excel supports. An attacker can supply a file of a few kilobytes with max="300000000", causing the process to allocate hundreds of millions of Column objects and abort with a fatal V8 heap out-of-memory error that cannot be caught with try/catch.

PoC

In xl/worksheets/sheet1.xml of any valid workbook:

<cols><col min="1" max="300000000" width="10" customWidth="1"/></cols>
await new ExcelJS.Workbook().xlsx.load(buffer);
// FATAL ERROR: ... JavaScript heap out of memory

The file is about 6 KB. The process aborts in a few seconds.

CVSS Base Scores

version 4.0
version 3.1