← Back to search

CVE-2026-105219

7.5 HIGHpublic exploit available

Published 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

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.