Description
ExcelJS through 4.4.0 contains a memory exhaustion vulnerability that allows attackers to crash applications by supplying a workbook with an unbounded image anchor column in the drawing part. Attackers can set an anchor column such as 300000000 in xl/drawings/drawing1.xml so reading getImages() anchor positions makes Worksheet.getColumn allocate millions of Column objects and abort with a heap out-of-memory error.
Metrics
CVSS 3.1 7.5/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| exceljs | exceljs | <= 4.4.0 |
References
- https://github.com/exceljs/exceljsProduct
- https://github.com/exceljs/exceljs/blob/v4.4.0/lib/doc/anchor.js#L40-L64Product
- https://github.com/exceljs/exceljs/blob/v4.4.0/lib/doc/worksheet.js#L243-L261Product
- https://github.com/mateocallec/exceljs-hardened/security/advisories/GHSA-cqmf-h7c5-g7xxExploit, Vendor Advisory
- https://www.vulncheck.com/advisories/exceljs-through-4.4.0-memory-exhaustion-via-oversized-image-anchor-columnThird Party Advisory
- https://github.com/mateocallec/exceljs-hardened/security/advisories/GHSA-cqmf-h7c5-g7xxExploit, Vendor Advisory
Timeline
- Published
- Nov 13, 2026
- Last modified
- Nov 17, 2026
- NVD status
- Analyzed