CVE-2026-105219
published high CVSS 4.0 · 8.7Mammoth.js 1.3.0 before 1.12.3 ReDoS via Style Map Tokeniser
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| mwilliamson | — | mammoth.js1.3.0 to < 1.12.3 · Other versions: unaffected | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.7 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.5 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| mwilliamson | mammoth.js | 1.3.0 to < 1.12.3 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-1333 Inefficient Regular Expression Complexity
References
5- 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
- GitHub Issue #487 https://github.com/mwilliamson/mammoth.js/issues/487
- VulnCheck Advisory: Mammoth.js 1.3.0 before 1.12.3 ReDoS via Style Map Tokeniser https://www.vulncheck.com/advisories/mammoth-js-1.3.0-before-1.12.3-redos-via-style-map-tokeniser
Provider assertions
2VulnCheck · cna
Mammoth.js 1.3.0 before 1.12.3 ReDoS via Style Map Tokeniser
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c6359d1a962711b720db317685184590f79a4f186ae135c2a08e783cb77d0d98
- Ingested
- 05 Oct 2026, 15:00:50 UTC
- Source record
- Official CVE record