PatchSiren cyber security CVE debrief
CVE-2026-105219 mwilliamson CVE debrief
CVE-2026-105219 is a high-severity vulnerability in the Mammoth.js library, which can be exploited through a crafted .docx file to cause a denial of service (DoS) by blocking the Node.js event loop. The vulnerability is due to a regular expression denial of service (ReDoS) in the style map tokeniser. Users of affected versions should assess exposure and prioritize remediation.
- Vendor
- mwilliamson
- Product
- mammoth.js
- CVSS
- HIGH 8.7
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-10-04
- Original CVE updated
- 2026-10-04
- Advisory published
- 2026-10-04
- Advisory updated
- 2026-10-04
Who should care
Developers and administrators using the Mammoth.js library in their applications should assess their exposure to this vulnerability. This includes those who use Mammoth.js to process .docx files, especially in Node.js environments. Due to the high severity of this vulnerability, prioritization of remediation is recommended.
Why it matters
CVE-2026-105219 is a high-severity vulnerability in Mammoth.js that can cause a denial of service (DoS) by blocking the Node.js event loop. Users of affected versions should assess exposure and prioritize remediation by updating to version 1.12.3 or later. The vulnerability requires verification of affected versions and monitoring for potential attacks.
- Potential for denial of service (DoS) through event loop blocking
- Need for verification of affected versions in use
- Priority for updating to fixed version 1.12.3 or later
- Monitoring for suspicious .docx file processing activity
Technical summary
The Mammoth.js library, used for converting .docx files, contains a regular expression denial of service (ReDoS) vulnerability in the style map tokeniser. This vulnerability can be exploited by supplying a crafted .docx file with an unterminated quoted string of repeated backslash escapes, which can block the Node.js event loop. The vulnerability is caused by overlapping regex alternatives in the style map tokeniser in lib/styles/parser/tokeniser.js. Affected users should assess exposure and prioritize remediation by updating to version 1.12.3 or later.
Defensive priority
High
Recommended defensive actions
- Assess exposure by checking if using affected Mammoth.js versions
- Prioritize remediation by updating to version 1.12.3 or later
- Monitor for potential DoS attacks through crafted .docx files
- Verify inventory of systems and applications using Mammoth.js
- Review compensating controls for exposed systems while remediation is scheduled and verified
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
- Track exceptions, retest remediated assets, and close the item only after evidence is documented.
Evidence notes
The vulnerability is caused by overlapping regex alternatives in the style map tokeniser in lib/styles/parser/tokeniser.js. A crafted .docx with an unterminated quoted string of repeated backslash escapes can block the Node.js event loop.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-105219 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-105219
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-105219 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-105219
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://github.com/mwilliamson/mammoth.js
-
Source reference
Unverified legacy reference
URL: https://github.com/mwilliamson/mammoth.js/blob/1.12.2/lib/styles/parser/tokeniser.js
-
Source reference
Unverified legacy reference
URL: https://github.com/mwilliamson/mammoth.js/commit/dc49225425c2c07de0a6dc3529f2386c82a032b4
-
Source reference
Unverified legacy reference
URL: https://github.com/mwilliamson/mammoth.js/issues/487
-
Source reference
Unverified legacy reference
URL: https://www.vulncheck.com/advisories/mammoth-js-1.3.0-before-1.12.3-redos-via-style-map-tokeniser
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.