{"id":"CVE-2026-105219","summary":"Mammoth.js 1.3.0 before 1.12.3 ReDoS via Style Map Tokeniser","details":"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.","modified":"2026-10-06T02:47:20.920988251Z","published":"2026-10-04T17:09:54.186Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-1333"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/105xxx/CVE-2026-105219.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/105xxx/CVE-2026-105219.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-105219"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/mammoth-js-1.3.0-before-1.12.3-redos-via-style-map-tokeniser"},{"type":"REPORT","url":"https://github.com/mwilliamson/mammoth.js/issues/487"},{"type":"FIX","url":"https://github.com/mwilliamson/mammoth.js/commit/dc49225425c2c07de0a6dc3529f2386c82a032b4"},{"type":"PACKAGE","url":"https://github.com/mwilliamson/mammoth.js"},{"type":"ARTICLE","url":"https://github.com/mwilliamson/mammoth.js/blob/1.12.2/lib/styles/parser/tokeniser.js#L6-L30"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mwilliamson/mammoth.js","events":[{"introduced":"a55dee628eafdfd11c82cda0682ceebb3adbbfc1"},{"fixed":"71fe5daa50f85939efc9ea546ac588c4dba56d4c"},{"fixed":"dc49225425c2c07de0a6dc3529f2386c82a032b4"}],"database_specific":{"source":["DESCRIPTION","REFERENCES"],"extracted_events":[{"introduced":"1.3.0"},{"fixed":"1.12.3"}]}}],"versions":["1.12.2","1.12.1","1.12.0","1.11.0","1.10.0","1.9.1","1.9.0","1.8.0","1.7.2","1.7.1","1.7.0","1.6.0","1.5.1","1.5.0","1.4.21","1.4.20","1.4.19","1.4.18","1.4.17","1.4.16","1.4.15","1.4.14","1.4.13","1.4.12","1.4.11","1.4.10","1.4.9","1.4.8","1.4.7","1.4.6","1.4.5","1.4.4","1.4.3","1.4.2","1.4.1","1.4.0","1.3.6","1.3.5","1.3.4","1.3.3","1.3.2","1.3.1","1.3.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-105219.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}