Description
Mistune before 3.3.0 contains an algorithmic complexity vulnerability in the inline link parser that allows unauthenticated attackers to exhaust CPU by submitting long runs of unmatched '[' characters. Attackers can send small markdown payloads that trigger O(N^2) parse_link_text and parse_link_label probing, occupying rendering workers for 30+ seconds per 16 KB input.
Published: 2026-10-22
Score: 8.7 High
EPSS: n/a
KEV: No
Impact: Denial of Service
Action: Apply Patch
AI Analysis

Impact

Mistune prior to version 3.3.0 contains an algorithmic‑complexity vulnerability in its inline link parser that triggers a quadratic time (O(N^2)) operation when processing long runs of unmatched '[' characters. An unauthenticated attacker can send a small Markdown payload that causes the parser to take more than 30 seconds to complete for a 16 KB input, exhausting CPU resources of rendering workers. The result is a loss of service availability for any application that relies on Mistune for Markdown rendering over HTTP or other user‑controllable interfaces.

Affected Systems

The affected product is the Mistune Markdown parser for Python. Any project that includes Mistune 3.2.x or earlier versions is impacted. Organizations that deploy Mistune within web services, content management systems, chat platforms or other user‑facing applications should verify the installed version. Versions 3.3.0 and later are not affected.

Risk and Exploitability

With a CVSS score of 8.7 the risk of exploitation is high. The EPSS score is currently unavailable, and the vulnerability is not listed in the CISA KEV catalog, but the lack of authentication and trivial payload construction make the attack easier to launch. An attacker can send the exploit payload remotely to any endpoint that transmits user‑supplied Markdown to Mistune, causing the rendering process to become CPU‑bound. Because the attacker only needs to supply a long sequence of '[' characters, the exploitation conditions are minimal and the probability of attack is significant in exposed environments.

Generated by OpenCVE AI on October 23, 2026 at 03:16 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Mistune to version 3.3.0 or later to eliminate the algorithmic‑complexity issue.
  • Validate or truncate Markdown input before invoking Mistune, rejecting payloads that exceed a reasonable length.
  • Implement rate limiting or isolate rendering workers so that a single request cannot monopolize CPU resources.

Generated by OpenCVE AI on October 23, 2026 at 03:16 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 23 Oct 2026 00:45:00 +0000

Type Values Removed Values Added
Description Mistune before 3.3.0 contains an algorithmic complexity vulnerability in the inline link parser that allows unauthenticated attackers to exhaust CPU by submitting long runs of unmatched '[' characters. Attackers can send small markdown payloads that trigger O(N^2) parse_link_text and parse_link_label probing, occupying rendering workers for 30+ seconds per 16 KB input.
Title Mistune before 3.3.0 Quadratic-Time DoS via Unmatched Brackets in Inline Parser
First Time appeared Mistune Project
Mistune Project mistune
Weaknesses CWE-407
CWE-606
CPEs cpe:2.3:a:mistune_project:mistune:*:*:*:*:*:*:*:*
Vendors & Products Mistune Project
Mistune Project mistune
References
Metrics threat_severity

None

cvssV3_1

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

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}

threat_severity

Important


Subscriptions

Mistune Project Mistune
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-22T19:13:28.427Z

Reserved: 2026-10-22T11:20:02.626Z

Link: CVE-2026-115352

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-10-22T19:17:41.077

Modified: 2026-10-22T19:17:41.187

Link: CVE-2026-115352

cve-icon Redhat

Severity : Important

Publid Date: 2026-10-22T19:13:28Z

Links: CVE-2026-115352 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-23T03:45:15Z

Weaknesses
  • CWE-407

    Inefficient Algorithmic Complexity

  • CWE-606

    Unchecked Input for Loop Condition