{"cve":"CVE-2026-71436","nvd":{"published":"2026-08-06T22:18:30.563","modified":"2026-10-24T15:10:00.190","status":"Awaiting Analysis","description":"Mermaid is a JavaScript tool that uses Markdown-inspired text to create and modify diagrams and charts. From version 10.6.0 until 10.9.8 and 11.16.1, Mermaid XY Charts are vulnerable to an infinite loop denial of service in the setXAxisRangeData function when configuring an X-Axis with invalid parameters. Because each loop iteration appends an element to an array, this generally causes a RangeError to appear after a few seconds, but it may instead cause the page or JavaScript process to crash from memory exhaustion, depending on the environment. This issue is fixed in versions 10.9.8 and 11.16.1.","cvss_v4":{"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:L","score":5.3},"cvss_v3":null,"cwes":["CWE-835","CWE-1325"],"references":["https://github.com/mermaid-js/mermaid/commit/630aa7e5dd417e1f56bff2a1ce8df2c5ad08d289","https://github.com/mermaid-js/mermaid/commit/ef60adc837d9d5107af21285f01e83dea309bd0a","https://github.com/mermaid-js/mermaid/pull/8022","https://github.com/mermaid-js/mermaid/releases/tag/mermaid@11.16.1","https://github.com/mermaid-js/mermaid/releases/tag/v10.9.8"],"products":[],"source":"nvd","synced_at":"2026-10-24T16:53:34.184483516+00:00"},"epss":{"cve":"CVE-2026-71436","score":0.00581,"percentile":0.47486,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-2v8p-3f2j-5mp7","url":"https://osv.dev/vulnerability/GHSA-2v8p-3f2j-5mp7","summary":"Mermaid XY Charts are vulnerable to an infinite loop DoS","modified":"2026-09-10T03:51:12.917104069Z","packages":[{"ecosystem":"npm","name":"mermaid","purl":"pkg:npm/mermaid","ranges":[">=10.6.0 <10.9.8"],"fixed":["10.9.8"]},{"ecosystem":"npm","name":"mermaid","purl":"pkg:npm/mermaid","ranges":[">=11.0.0-alpha.1 <11.16.1"],"fixed":["11.16.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}