{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "1.3.0"
              },
              {
                "fixed": "1.12.3"
              }
            ],
            "source": [
              "DESCRIPTION",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "a55dee628eafdfd11c82cda0682ceebb3adbbfc1"
            },
            {
              "fixed": "71fe5daa50f85939efc9ea546ac588c4dba56d4c"
            },
            {
              "fixed": "dc49225425c2c07de0a6dc3529f2386c82a032b4"
            }
          ],
          "repo": "https://github.com/mwilliamson/mammoth.js",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-1333"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/105xxx/CVE-2026-105219.json"
  },
  "details": "Mammoth.js 1.3.0 before 1.12.3 contains a regular expression denial of service vulnerability in the style map tokeniser in lib/styles/parser/tokeniser.js due to overlapping regex alternatives. Attackers can supply a crafted .docx with an unterminated quoted string of repeated backslash escapes in mammoth/style-map to block the Node.js event loop.",
  "id": "CVE-2026-105219",
  "modified": "2026-10-06T02:30:21.474427052Z",
  "published": "2026-10-04T17:09:54.186Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/105xxx/CVE-2026-105219.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-105219"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/mammoth-js-1.3.0-before-1.12.3-redos-via-style-map-tokeniser"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/mwilliamson/mammoth.js/issues/487"
    },
    {
      "type": "FIX",
      "url": "https://github.com/mwilliamson/mammoth.js/commit/dc49225425c2c07de0a6dc3529f2386c82a032b4"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/mwilliamson/mammoth.js"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/mwilliamson/mammoth.js/blob/1.12.2/lib/styles/parser/tokeniser.js#L6-L30"
    }
  ],
  "schema_version": "1.9.0",
  "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": "Mammoth.js 1.3.0 before 1.12.3 ReDoS via Style Map Tokeniser"
}