CVE-2026-71439

Mermaid radar diagrams are vulnerable to DoS

Published Aug 6, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
Mermaid is a JavaScript tool that uses Markdown-inspired text to create and modify diagrams and charts. From version 11.6.0 until 11.16.1, Mermaid Radar Diagrams allow arbitrary large values for the ticks parameter, which can cause high CPU usage and freeze the rendering webpage or JavaScript process for long periods of time, potentially until the process is killed from memory exhaustion. This issue is fixed in version 11.16.1.

Analysis

AI-generated

Technical impact

Mermaid Radar Diagrams can accept arbitrarily large values for the ticks parameter, which causes the rendering engine to consume excessive CPU resources and can freeze the webpage or JavaScript process for extended periods. The weakness stems from inadequate input validation (CWE-1322), unchecked user input (CWE-606), and uncontrolled resource consumption (CWE-1050), allowing an attacker-controlled diagram definition to trigger a denial of service. The impact is limited to the context where a vulnerable Mermaid instance renders the diagram, potentially disrupting user experience or exhausting memory if the process is killed for resource exhaustion.

Affected Systems

The vulnerability affects mermaid-js:mermaid versions 11.6.0 through 11.16.1. Versions prior to 11.6.0 and 11.16.1 or later are not impacted. Affected users should verify the installed version against the range and apply the patch when available.

Risk and Exploitability

With a CVSS score of 5.3 the risk is considered moderate. The EPSS score is < 1%, indicating a very low probability of exploitation, and the vulnerability is not listed in CISA KEV, which suggests no widespread exploitation yet. The exploit is generally local or remote via a malicious diagram; an attacker can embed a large ticks value in a document or webpage that a user’s browser renders, leading to high CPU usage and a denial of service for that user. In high-traffic scenarios, the cumulative effect could degrade service quality for many users at once.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade mermaid to version 11.16.1 or later.
  • If upgrading is not immediately possible, validate or bound the ticks parameter before passing it to Mermaid, ensuring it remains within a reasonable limit.
  • Configure resource limits or monitor CPU usage for the JavaScript rendering process to prevent complete system resource exhaustion due to excessive diagram rendering.

Generated by OpenCVE AI on August 11, 2026 at 02:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-rhh3-jpg6-66xh Mermaid radar diagrams are vulnerable to DoS
History
Type Values Removed Values Added
Weaknesses CWE-1050
References
Metrics threat_severity

None

cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Mermaid Project
Mermaid Project mermaid
Vendors & Products Mermaid Project
Mermaid Project mermaid
Type Values Removed Values Added
Description Mermaid is a JavaScript tool that uses Markdown-inspired text to create and modify diagrams and charts. From version 11.6.0 until 11.16.1, Mermaid Radar Diagrams allow arbitrary large values for the ticks parameter, which can cause high CPU usage and freeze the rendering webpage or JavaScript process for long periods of time, potentially until the process is killed from memory exhaustion. This issue is fixed in version 11.16.1.
Title Mermaid radar diagrams are vulnerable to DoS
Weaknesses CWE-1322
CWE-606
References
Metrics cvssV4_0

{'score': 5.3, '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'}

Weaknesses
  • CWE-1050

    Excessive Platform Resource Consumption within a Loop

  • CWE-1322

    Use of Blocking Code in Single-threaded, Non-blocking Context

  • CWE-606

    Unchecked Input for Loop Condition

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 7, 2026, 5:09 PM
Reserved
Aug 6, 2026, 4:28 PM
Status
Awaiting Analysis
Published
Aug 6, 2026, 10:18 PM
Modified
Oct 24, 2026, 3:10 PM
Severity
Moderate
Public date
Aug 6, 2026, 8:01 PM