Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit crafted Markdown via Slack-conversion endpoint
-
ExploitDeeply nested block quotes trigger quadratic render in to_slack
-
ImpactCPU and memory exhausted, service denied
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V2 - Validation and Business Logic Algorithmic complexity limits
|
| Exploitation Conditions | The affected application must call MDEx.to_slack/2 or MDEx.to_slack!/2 on untrusted Markdown; applications using only other MDEx converters are unaffected. The concrete trigger is a crafted input with d leading '>' characters (unbounded block-quote nesting, which is not depth-limited) followed by m lazy-continuation lines ending in a backslash hard break, producing time proportional to d²·m. Limiting factors: only mdex versions 0.13.1 through 0.14.x are vulnerable (fixed in 0.15.0); exploitation requires that attacker-controlled Markdown actually reaches the Slack converter. The vendor rated this AV:L, but where an app exposes to_slack to remote input the flaw is reachable without authentication or user interaction. |
| Impact | This is an algorithmic-complexity denial-of-service (CWE-407) in the mdex Slack converter, rated CVSS 4.0 6.9 (medium) by the Erlang Ecosystem Foundation CNA. The signals are consistent and modest: impact is availability-only (VA:H, VC:N/VI:N) - no code execution or data exposure - and the vuln.today decision label is 'this_month,' not act_now or emergency. It is not listed in CISA KEV and no EPSS score was provided, and no public working exploit was identified (only the vendor fix commits are referenced). The main conflict is the attack vector: the CNA assigned AV:L (local), yet the description centers on 'untrusted Markdown' converted via MDEx.to_slack for Slack integrations, which in practice means attacker-controlled input arriving over the network (e.g., a Slack bot or web service) - so the realistic reachability is network, and I assess AV:N below; verify against the specific deployment. Net: a genuine but non-emergency DoS worth patching in a normal maintenance window, with priority rising sharply for any service that feeds untrusted Markdown into to_slack, because a single ~16 KB request costs ~16 seconds of CPU and the cost grows roughly eightfold as input doubles. |
| Exploit ScenarioDerived | An application exposes a Slack-formatting endpoint (bot, webhook, or web form) that passes user-supplied Markdown to MDEx.to_slack/2 or to_slack!/2. An attacker submits a ~16 KB message consisting of deeply nested block quotes (many leading '>' characters) followed by lazy-continuation lines ending in backslash hard breaks, forcing quadratic (d²·m) rendering that burns ~16 seconds of CPU and emits ~32 MB of output per request; a handful of such requests exhaust CPU and memory and deny service. No public working exploit was identified at time of analysis - only the vendor fix commits are referenced. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 30, 2026
Denial of service in MDEx, the Elixir Markdown library, where the Slack mrkdwn converter (MDEx.to_slack/2 and MDEx.to_slack!/2) re-renders the entire child subtree of a block quote at every nesting level, so a small crafted message can pin a CPU core for many seconds and allocate tens of megabytes of output. Only mdex 0.13.1 through 0.14.x that passes untrusted Markdown into the Slack converter is affected; applications using MDEx's other converters are not, and 0.15.0 fixes the flaw. Attacker-controlled Markdown must actually reach to_slack, but once it does the CVSS vectors (CVSS 4.0 from the CNA and CVSS 3.1 AV:N/AC:L/PR:N/UI:N from this assessment) carry PR:N and UI:N, so no credentials or user interaction are needed; no public exploit code has been identified at time of analysis.
RemediationAI
Vendor-released patch: upgrade mdex to 0.15.0 or later, which contains the algorithmic-complexity fix in the Slack converter (commits 0be090a78dbe587a90814a7481b039d10996863c and 22a0c7b6614f84648e72699f3e426f20b7f04ba6), and verify via the CNA advisory at https://cna.erlef.org/cves/CVE-2026-131906.html or https://osv.dev/vulnerability/EEF-CVE-2026-131906. Where upgrading is not immediately possible, stop feeding untrusted Markdown into MDEx.to_slack/2 and MDEx.to_slack!/2 - the trade-off is that Slack output must then come from trusted or pre-sanitized content, or be produced by a different converter - and, as a second layer, cap inbound message size and block-quote nesting depth before conversion, accepting that legitimately deep quoted threads will be rejected or truncated. Given the CNA's AV:L score versus this assessment's AV:N/AC:L/PR:N/UI:N view, prioritize hosts where user- or network-supplied Markdown reaches the Slack converter, and note that a single 16 KB request can consume about 16 seconds of CPU, so modest request rates are enough to exhaust capacity.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
MDEx is an Elixir Markdown library that parses input into an MDEx.Document AST and then runs format-specific converters over the node tree; the previously added Slack mrkdwn path (MDEx.to_slack/2, MDEx.to_slack!/2, backed by MDEx.SlackConverter in lib/mdex/slack_converter.ex) walks that tree in convert_nodes/convert_node. The defect is CWE-407, inefficient algorithmic complexity: render_quote/2 renders the whole child subtree of a block quote to a binary, splits that binary on newlines and rejoins it with a "> " prefix, and does this again at every nesting level. Because block-quote depth is not limited, an input consisting of d leading ">" characters followed by m lazy-continuation lines ending in a backslash hard break costs time proportional to d²·m. The practical amplification is severe: a 16 KB message consumes roughly 16 seconds of CPU and produces about 32 MB of output, with cost growing roughly eightfold each time the input size doubles, meaning a stream of small inputs can saturate scheduler and memory resources on the host. The fix (0.15.0, commits 0be090a78dbe587a90814a7481b039d10996863c and 22a0c7b6614f84648e72699f3e426f20b7f04ba6) bounds that nesting behaviour; the exact trigger for a bounded variant is not described further in the available sources.
Know when Elixir gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Realistic delivery is network-borne untrusted Markdown with no auth or interaction and a trivially crafted single input (AV:N/AC:L/PR:N/UI:N); impact is availability-only (A:H, C:N/I:N) - I diverge from the vendor's AV:L.
Primary rating from Vendor (6b3ad84c-e1a6-4bf7-a703-f496b71e49db).
CVSS VectorVendor: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
Lifecycle Timeline
1DescriptionCVE.org
Inefficient Algorithmic Complexity vulnerability in leandrocp mdex allows an attacker to cause a denial of service through excessive CPU consumption via crafted nested block quotes passed to MDEx.to_slack/2.
render_quote/2 in lib/mdex/slack_converter.ex renders the whole child subtree of a block quote to a binary, splits it on newlines and rejoins it with a > prefix, and repeats this at every nesting level. Block quote depth is not limited, so an input with d leading > characters followed by m lazy-continuation lines ending in a backslash hard break costs time proportional to d²·m. A 16 KB message takes about 16 seconds of CPU and produces 32 MB of output, and the cost grows about eightfold each time the input doubles. Any application that converts untrusted Markdown with MDEx.to_slack/2 or MDEx.to_slack!/2 is affected.
This issue affects mdex: from 0.13.1 before 0.15.0.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Unbounded recursion in the Elixir `protobuf` Hex package (versions >= 0.8.0, < 0.16.1) lets unauthenticated remote attac
Remote code execution in the Elixir Flop pagination library affects versions 0.8.0 through 0.26.6, 0.27.0 through 0.27.2
Improper JWT signature verification in Dashbit's nimble_zta (0.1.2 up to but not including 0.1.3) lets an unauthenticate
Session-swapping authentication bypass in the Elixir library AshAuthentication (versions 4.10.0 before 4.15.0 and 5.0.0-
Account takeover in AshAuthentication (Elixir/Ash) 4.14.0 through 4.14.x and 5.0.0-rc.10 through 5.0.0-rc.13 lets unauth
Authentication bypass in the Elixir library ash_authentication lets an attacker who operates one federated identity-prov
Server-Side Request Forgery protection bypass in the Elixir safeurl library (versions 0.1.0 and later) allows unauthenti
Arbitrary code execution in applications running the Elixir db_connection library 1.1.0 through 2.10.2 is possible when
Unauthenticated remote CPU exhaustion in mtrudel Bandit's HTTP/2 server (versions before 1.14.0) is achievable by holdin
Unbounded per-connection memory and CPU growth in the Elixir Bandit HTTP/2 server (0.3.6 up to 1.14.0) lets an unauthent
Unauthenticated remote denial of service in the Elixir HTTP server Bandit (mtrudel/bandit) from 0.1.0 before 1.14.0 lets
Unauthenticated remote attackers can consume disproportionate server CPU on Bandit (mtrudel/bandit, Elixir/Erlang) by se
EUVD-2026-139647
GHSA-vfj7-jxvp-5fjc
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB