{"id":"CVE-2026-105219","state":"PUBLISHED","title":"Mammoth.js 1.3.0 before 1.12.3 ReDoS via Style Map Tokeniser","description":"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.","publishedAt":"2026-10-04T17:09:54.186Z","updatedAt":"2026-10-05T14:55:01.763Z","severity":{"score":8.7,"label":"High","version":"4.0","vector":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["mwilliamson mammoth.js"],"affected":[{"vendor":"mwilliamson","product":"mammoth.js","packageURL":"pkg:npm/mammoth","defaultStatus":"unaffected","versions":[{"version":"1.3.0","status":"affected","lessThan":"1.12.3","versionType":"semver"}]}],"references":["https://github.com/mwilliamson/mammoth.js/issues/487","https://github.com/mwilliamson/mammoth.js/commit/dc49225425c2c07de0a6dc3529f2386c82a032b4","https://github.com/mwilliamson/mammoth.js/blob/1.12.2/lib/styles/parser/tokeniser.js#L6-L30","https://github.com/mwilliamson/mammoth.js","https://www.vulncheck.com/advisories/mammoth-js-1.3.0-before-1.12.3-redos-via-style-map-tokeniser"],"weaknesses":["CWE-1333"],"ingestedAt":"2026-10-29T20:10:23.711Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/105xxx/CVE-2026-105219.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-105219","state":"PUBLISHED","datePublished":"2026-10-04T17:09:54.186Z","dateUpdated":"2026-10-05T14:55:01.763Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-10-04T13:04:00.479Z"},"containers":{"cna":{"title":"Mammoth.js 1.3.0 before 1.12.3 ReDoS via Style Map Tokeniser","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"mwilliamson","product":"mammoth.js","packageURL":"pkg:npm/mammoth","defaultStatus":"unaffected","versions":[{"version":"1.3.0","status":"affected","lessThan":"1.12.3","versionType":"semver"}]}],"references":[{"url":"https://github.com/mwilliamson/mammoth.js/issues/487","tags":["issue-tracking"],"name":"GitHub Issue #487"},{"url":"https://github.com/mwilliamson/mammoth.js/commit/dc49225425c2c07de0a6dc3529f2386c82a032b4","tags":["patch"]},{"url":"https://github.com/mwilliamson/mammoth.js/blob/1.12.2/lib/styles/parser/tokeniser.js#L6-L30","tags":["technical-description"]},{"url":"https://github.com/mwilliamson/mammoth.js","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/mammoth-js-1.3.0-before-1.12.3-redos-via-style-map-tokeniser","name":"VulnCheck Advisory: Mammoth.js 1.3.0 before 1.12.3 ReDoS via Style Map Tokeniser","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.7,"baseSeverity":"HIGH"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1333","lang":"en","description":"Inefficient Regular Expression Complexity","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-10-04T17:09:54.186Z"},"datePublic":"2026-09-01T00:00:00.000Z","credits":[{"lang":"en","value":"Siyang Wu","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2026-105219","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2026-10-05T13:07:56.744324Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-05T14:55:01.763Z"}}]}}}