Infinite loop in mermaid - CVE-2026-71436

 

Infinite loop in mermaid - CVE-2026-71436

Published: August 4, 2026 / Updated: August 7, 2026


Vulnerability identifier: #VU140935
CSH Severity: Low
CVSS v4: 4.6 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-71436
CWE-ID: CWE-835
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to a loop with an unreachable exit condition in the setXAxisRangeData() function when processing crafted XY chart input with invalid x-axis parameters. A remote attacker can supply specially crafted chart data to cause a denial of service.

User interaction is required to load or render the crafted chart content.


Affected software

mermaid

How to mitigate CVE-2026-71436

Install security update from vendor's website.

mermaid - addressed in versions 10.9.8, 11.16.1

External References

Related Security Bulletins