CVE Professor
/
All CVEs
CVE-2026-135699

CVE-2026-135699 — Leandrocp Mdex — CWE-1333

LOW CVSS 2.1 Shodan

Inefficient Regular Expression Complexity vulnerability in leandrocp mdex allows an attacker to exhaust CPU via crafted unterminated link or image labels. When an application completes partial Markdown with the non-default auto_close: [links: :text] or auto_close: [images: :text] policy, MDEx.FragmentParser.text_label/1 in lib/mdex/fragment_parser.ex escapes the pending label with two regular expressions, \A[^\n]+|[^\n]+\z and ~{3,}\z, that are anchored at one end only. The engine retries the unanchored alternative from every offset, so the cost grows with the square of a label line or trailing tilde run. An attacker who supplies the Markdown, such as user content or streamed LLM output, can make a single render of about 60 KB take tens of seconds of CPU. The default auto_close: true policy is not affected. This issue affects mdex: from 0.14.3 before 0.15.0.

Inefficient Regular Expression Complexity vulnerability in leandrocp mdex allows an attacker to exhaust CPU via crafted unterminated link or image labels. When an application completes partial Markdown with the non-default auto_close: [links: :text] or auto_close: [images: :text] policy, MDEx.FragmentParser.text_label/1 in lib/mdex/fragment_parser.ex escapes the pending label with two regular expressions, \A[^\n]+|[^\n]+\z and ~{3,}\z, that are anchored at one end only. The engine retries the unanchored alternative from every offset, so the cost grows with the square of a label line or trailing tilde run. An attacker who supplies the Markdown, such as user content or streamed LLM output, can make a single render of about 60 KB take tens of seconds of CPU. The default auto_close: true policy is not affected. This issue affects mdex: from 0.14.3 before 0.15.0.

CVSS v4.0 Vector Metrics
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Attack Vector Local AV:L
Attack Complexity Low AC:L
Attack Reqs. Present AT:P
Privileges Req. None PR:N
User Interaction None UI:N
Vuln. Conf. None VC:N
Vuln. Integrity None VI:N
Vuln. Avail. Low VA:L
Subseq. Conf. None SC:N
Subseq. Integ. None SI:N
Subseq. Avail. None SA:N
Scope X S:X
AI Security Analysis & Remediation

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-135699
CVSS 2.1/10 · LOW · 30.11.2026
CWE: CWE-1333
Vector: CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🎯 WHAT IS THIS VULNERABILITY?
Summary: Inefficient Regular Expression Complexity vulnerability in leandrocp mdex allows an attacker to exhaust CPU via crafted unterminated link or image labels. When an application completes partial Markdown with the non-default auto_close: [links: :text] or auto_close: [images: :text] policy, MDEx.FragmentParser.text_label/1 in lib/mdex/fragment_parser.ex escapes the pending label with two regular e…
Affected: leandrocp mdex

⚡ ATTACK VECTOR
Local/physical access (AV:L) · no authentication required (PR:N) · no user interaction (UI:N) · low attack complexity (AC:L).

🌍 REAL WORLD IMPACT
Partial confidentiality disclosure (C:L); reduced availability or partial DoS (A:L).

🛡️ REMEDIATION
→ Apply vendor security update for leandrocp mdex.
→ Add WAF rule, create IDS alert for anomalous traffic.

⚠️ URGENCY
📌 Low priority — routine update sufficient.

────────────────────────────────────────
[Automated Technical Vulnerability & CVSS Vector Analysis]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="leandrocp mdex"
CVSS Score
2.1 / 10 · CVSS LOW
Weakness Types (CWE)
CWE-1333
Affected Products (1)
leandrocp:mdex
References & Advisories (4)
Related CVEs
8.7
CVE-2026-144574
geopy through 2.5.0 contains a regular expression denial of service vulnerability in Point.from_string() that
7.1
CVE-2026-144951
Sync-in Server 2.4.0 before 2.6.1 contains a regular expression denial of service vulnerability that allows au
6.9
CVE-2026-144569
NervJS taro-css-to-react-native through 4.3.3 contains a regular expression denial of service vulnerability in
6.9
CVE-2026-145193
Mozilla Bleach through 6.4.0 contains an inefficient regular expression vulnerability in the URL_RE pattern us
5.5
CVE-2026-144711
A flaw was found in subscription-manager. ProductCertificateFilter translates fnmatch-style filter strings int
4.3
CVE-2026-143823
A flaw was found in MLflow where credential-redaction regular expressions used when handling skill registratio
0.0
CVE-2026-134127
Inefficient regular expression complexity vulnerability in Apache TinkerPop: gremlin-server. This could be exp