Skip to main content
VulnerabilityPublished

CVE-2026-105219: mwilliamson mammoth.js · ReDoS

Affects mwilliamson mammoth.jsSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 8.7 High : upgrade to 1.12.3 soon.

Data as of 17 Nov 2026, 20:25 UTC

CVSS 4.0 base score
8.7High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 29% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.12.3
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 4 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 17 Nov 2026.

What to do

Upgrade mwilliamson mammoth.js to 1.12.3.

Affected software

ProductAffectedFixed in
mwilliamsonmammoth.jsAffected
  • >=1.3.0 <1.12.3
Fixed in
  • 1.12.3

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

If you cannot patch yet, avoid processing untrusted .docx files with vulnerable versions of mammoth.js or implement input validation to detect and reject malicious style maps.

Description

Mammoth.js versions from 1.3.0 up to but not including 1.12.3 contain a regular expression denial of service (ReDoS) vulnerability in the style map tokeniser. This vulnerability arises from overlapping regex alternatives in the tokeniser code, allowing an attacker to supply a crafted .docx file with an unterminated quoted string of repeated backslash escapes. This can block the Node.js event loop, causing a denial of service condition. The vulnerability has a high severity score of 8.7 CVSS 4.0 and does not require user interaction or privileges to exploit.

References

Community reviews

Loading reviews…