CVE-2026-71436 Mermaid XY Charts are vulnerable to an infinite loop DoS
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- UbuntuDebianRed Hat
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.
Upgrade path
6 packages: 1 fixed, 4 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/node-mermaid(Debian 14) | = 8.7.0+ds+~cs27.17.17-1; = 8.7.0+ds+~cs27.17.17-2; = 8.7.0+ds+~cs27.17.17-2~bpo10+1; = 8.7.0+ds+~cs27.17.17-3 +13 more | No fix listed | No fix yet |
| redhat/devspaces/code-rhel9:1789145741(Red Hat openshift_devspaces 3.30 el9) | All versions | No fix listed | No fix yet |
| ubuntu/node-mermaid(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/node-mermaid(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| npm mermaid(npm) | >= 10.6.0, < 10.9.8; >= 11.0.0-alpha.1, < 11.16.1 | 10.9.8, 11.16.1 | Fixed |
| mermaid-js mermaid | = >= 10.6.0, < 10.9.8; = >= 11.0.0-alpha.1, < 11.16.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| mermaid-js mermaid | = >= 10.6.0, < 10.9.8 | No fix listed |
| mermaid-js mermaid | = >= 11.0.0-alpha.1, < 11.16.1 | No fix listed |
| redhat/devspaces/code-rhel9:1789145741(Red Hat:openshift_devspaces:3.30::el9) | All versions | No fix listed |
| npm mermaid(npm) | >= 10.6.0, < 10.9.8 | 10.9.8 |
| npm mermaid(npm) | >= 11.0.0-alpha.1, < 11.16.1 | 11.16.1 |
| debian/node-mermaid(Debian:14) | All versions | No fix listed |
| debian/node-mermaid(Debian:14) | = 8.11.0+ds+~cs29.13.22-1 | No fix listed |
| debian/node-mermaid(Debian:14) | = 8.13.2+ds+~cs30.13.21-1 | No fix listed |
| debian/node-mermaid(Debian:14) | = 8.13.2+ds+~cs30.13.21-1.1 | No fix listed |
| debian/node-mermaid(Debian:14) | = 8.13.3+ds+~cs26.13.21-1 | No fix listed |
| debian/node-mermaid(Debian:14) | = 8.13.3+ds+~cs26.13.21-2 | No fix listed |
| debian/node-mermaid(Debian:14) | = 8.13.8+~cs10.4.16-1 | No fix listed |
| debian/node-mermaid(Debian:14) | = 8.14.0+ds1+~cs11.4.14-1 | No fix listed |
| debian/node-mermaid(Debian:14) | = 8.14.0+~cs11.4.14-1 | No fix listed |
| debian/node-mermaid(Debian:14) | = 8.7.0+ds+~cs27.17.17-1 | No fix listed |
| debian/node-mermaid(Debian:14) | = 8.7.0+ds+~cs27.17.17-2 | No fix listed |
| debian/node-mermaid(Debian:14) | = 8.7.0+ds+~cs27.17.17-2~bpo10+1 | No fix listed |
| debian/node-mermaid(Debian:14) | = 8.7.0+ds+~cs27.17.17-3 | No fix listed |
| debian/node-mermaid(Debian:14) | = 8.9.1+ds+~cs26.20.25-1 | No fix listed |
| debian/node-mermaid(Debian:14) | = 8.9.3+ds+~cs29.13.19-1 | No fix listed |
| debian/node-mermaid(Debian:14) | = 9.2.2+~2.0.0-1 | No fix listed |
| debian/node-mermaid(Debian:14) | = 9.2.2+~2.0.0-2 | No fix listed |
| ubuntu/node-mermaid(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/node-mermaid(Ubuntu:26.10) | All versions | No fix listed |
References
- https://github.com/mermaid-js/mermaid/security/advisories/GHSA-2v8p-3f2j-5mp7 vendor-advisory
- https://github.com/mermaid-js/mermaid/pull/8022 patch
- https://github.com/mermaid-js/mermaid/commit/630aa7e5dd417e1f56bff2a1ce8df2c5ad08d289 patch
- https://github.com/mermaid-js/mermaid/commit/ef60adc837d9d5107af21285f01e83dea309bd0a patch
- https://github.com/mermaid-js/mermaid/releases/tag/mermaid@11.16.1
- https://github.com/mermaid-js/mermaid/releases/tag/v10.9.8
- Red Hat CVE page mitigation vendor-advisory
- RHSA-2026:68754 patch vendor-advisory
- Red Hat Bugzilla 2512242 issue-tracking
- www.cve.org
- nvd.nist.gov
- github.com
- Debian Security Tracker CVE-2026-71436 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- bugs.debian.org issue-tracking
- github.com product
- ENISA EUVD EUVD-2026-54241 third-party-advisory