{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "4.4.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "ac96f9a61e9799c7776bd940f05c4a51d7200209"
            }
          ],
          "repo": "https://github.com/exceljs/exceljs",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-qvh4-wwpm-ggc8"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-770"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/128xxx/CVE-2026-128340.json"
  },
  "details": "ExcelJS through 4.4.0 contains a memory exhaustion vulnerability that allows attackers to crash applications by supplying a workbook with an oversized defined-name range. DefinedNames.addEx expands ranges such as S!$A$1:$XFD$1048576 from xl/workbook.xml cell by cell, causing an uncatchable fatal heap out-of-memory error during xlsx.load().",
  "id": "CVE-2026-128340",
  "modified": "2026-11-14T02:30:52.248407147Z",
  "published": "2026-11-13T09:33:35.713Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/128xxx/CVE-2026-128340.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/exceljs/exceljs"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/exceljs/exceljs/blob/v4.4.0/lib/doc/defined-names.js#L182-L193"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/exceljs/exceljs/blob/v4.4.0/lib/utils/cell-matrix.js#L28-L37"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/mateocallec/exceljs-hardened/security/advisories/GHSA-qvh4-wwpm-ggc8"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-128340"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/exceljs-through-4.4.0-memory-exhaustion-via-oversized-defined-name-range"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "ExcelJS through 4.4.0 Memory Exhaustion via Oversized Defined Name Range"
}