StraitOfVuln
Latest / CVE-2026-135699

CVE-2026-135699

LowCVSS 2.1 (v4.0)Received
CVE.org ↗NVD ↗

Description

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.

Details

CVE ID
CVE-2026-135699
Published / updated
30 Nov 2026, 19:17 UTC · last modified 30 Nov 2026, 19:17 UTC
Severity
LOW
CVSS score
2.1 · v4.0 · 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
Affected vendor
leandrocp
Affected products
mdex
Affected versions
mdex: 0.14.3 to before 0.15.0
From the publisher's (CNA) CVE record. NVD analysis is pending.
Fixed versions
mdex 0.15.0
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
0.32% probability of exploitation in the next 30 days · 27% percentile (03 Dec 2026)
Weakness
Remediation
See the vendor advisory below.
Source (CNA)
6b3ad84c-e1a6-4bf7-a703-f496b71e49db