CVE-2026-105219
7.5 HIGHpublic exploit availablePublished 2026-10-04 · Updated 2026-10-06
AI risk analysis
- Summary
- Mammoth.js is vulnerable to a regular expression denial of service (ReDoS) attack that can block the Node.js event loop when processing crafted .docx files with unterminated quoted strings containing repeated backslash escapes in style maps, potentially causing a denial of service for all users of the application.
- Exploitability
- Exploitation is relatively straightforward as attackers only need to upload a specially crafted .docx file with an unterminated quoted string of repeated backslash escapes in the mammoth/style-map section, requiring no user interaction or authentication.
- Blast radius
- The impact could be significant across all users of applications using Mammoth.js for .docx processing, potentially leading to widespread service unavailability if the vulnerability is exploited in a document processing pipeline.
- Detection
- No reliable host or network indicator is derivable from the published description.
- Prioritized remediation
- Upgrade to Mammoth.js version 1.12.3 or later to address the ReDoS vulnerability in the style map tokeniser.
redosdocument-processingdosoffice-documentsnodejs
Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.
NVD 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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-1333
Public exploit & PoC references
All references
- https://github.com/mwilliamson/mammoth.js
- https://github.com/mwilliamson/mammoth.js/blob/1.12.2/lib/styles/parser/tokeniser.js#L6-L30
- https://github.com/mwilliamson/mammoth.js/commit/dc49225425c2c07de0a6dc3529f2386c82a032b4
- https://github.com/mwilliamson/mammoth.js/issues/487
- https://www.vulncheck.com/advisories/mammoth-js-1.3.0-before-1.12.3-redos-via-style-map-tokeniser
Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.
Related CVEs
- HIGHCVE-2026-103043PoC
- HIGHCVE-2026-104861PoC
- HIGHCVE-2026-100700PoC
- HIGHCVE-2026-102600PoC
- HIGHCVE-2026-106550PoC
- HIGHCVE-2026-67987PoC
- HIGHCVE-2026-67989PoC
- HIGHCVE-2013-10076PoC
Related by shared AI tags and CWE weakness class. Browse the full archive.