{"id":"UBUNTU-CVE-2026-41150","details":"Mermaid is a JavaScript tool that uses Markdown-inspired text to create and modify diagrams and charts. Prior to 10.9.6 and 11.15.0, there is a denial-of-service attack when rendering gantt charts, if they use the excludes attribute to exclude all dates. mermaid.parse is unaffected, unless you then call the ganttDb.getTasks() (which is called when rendering a diagram). This vulnerability is fixed in 10.9.6 and 11.15.0.","modified":"2026-06-03T11:23:42Z","published":"2026-05-29T15:16:00Z","upstream":["CVE-2026-41150"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-41150"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-41150"},{"type":"REPORT","url":"https://github.com/mermaid-js/mermaid/security/advisories/GHSA-6m6c-36f7-fhxh"},{"type":"REPORT","url":"https://github.com/mermaid-js/mermaid/commit/faafb5d49106dd32c367f3882505f2dd625aa30e"},{"type":"REPORT","url":"https://github.com/mermaid-js/mermaid/commit/a59ea56174712ee5430dfd5bc877cb5151f501a6"},{"type":"REPORT","url":"https://github.com/mermaid-js/mermaid/commit/a59ea56174712ee5430dfd5bc877cb5151f501a6"},{"type":"REPORT","url":"https://github.com/mermaid-js/mermaid/commit/faafb5d49106dd32c367f3882505f2dd625aa30e"},{"type":"REPORT","url":"https://github.com/mermaid-js/mermaid/releases/tag/mermaid%4011.15.0"},{"type":"REPORT","url":"https://github.com/mermaid-js/mermaid/releases/tag/v10.9.6"}],"affected":[{"package":{"name":"node-mermaid","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/node-mermaid?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.7.0+ds+~cs27.17.17-3","8.13.3+ds+~cs26.13.21-1","8.13.3+ds+~cs26.13.21-2","8.13.8+~cs10.4.16-1"],"ecosystem_specific":{"binaries":[{"binary_name":"node-mermaid","binary_version":"8.13.8+~cs10.4.16-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-41150.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"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"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"},{"type":"Ubuntu","score":"medium"}]}