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.

Project Subscriptions

Vendors Products
Mwilliamson Subscribe
Mammoth.js Subscribe
Advisories

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Mon, 05 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Sun, 04 Oct 2026 18:45:00 +0000

Type Values Removed Values Added
First Time appeared Mwilliamson
Mwilliamson mammoth.js
Vendors & Products Mwilliamson
Mwilliamson mammoth.js

Sun, 04 Oct 2026 17:30:00 +0000

Type Values Removed Values Added
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.
Title Mammoth.js 1.3.0 before 1.12.3 ReDoS via Style Map Tokeniser
Weaknesses CWE-1333
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 8.7, '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'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-05T14:55:01.763Z

Reserved: 2026-10-04T13:04:00.479Z

Link: CVE-2026-105219

cve-icon Vulnrichment

Updated: 2026-10-05T14:50:31.880Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-04T18:16:34.777

Modified: 2026-10-06T16:00:36.547

Link: CVE-2026-105219

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-04T19:00:14Z

Weaknesses