Mammoth.js 1.3.0 before 1.12.3 ReDoS via Style Map Tokeniser
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-1333.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| mwilliamson | mammoth.js | 1.3.0 to before 1.12.3 | 1.12.3 | Patch available | CNA |
- mammoth.js Vendormwilliamson Affected 1.3.0 to before 1.12.3 Fixed in 1.12.3 Patch available CNA
Remediation
- Fix · CNA mammoth.js (mwilliamson) Fixed in 1.12.3
Timeline
- 2026-10-04 Threatist record created from CVE-2026-105219
- 2026-10-04 Alias added: GHSA-fp33-4hh4-xjj5
- 2026-10-05 CISA SSVC decision points changed
References
More mwilliamson vulnerabilities
- TI-2026-63949 Prototype pollution in mwilliamson mammoth.js CVSS 4.0HIGH 8.4
Sources
- CVE-2026-105219 · CVE Program
- CVE-2026-105219 · NVD
- FIRST EPSS
- GHSA-fp33-4hh4-xjj5 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences