CVE-2026-131906
Last modified
CVE-2026-131906 is a medium-severity vulnerability rated 6.9/10 on the CVSS scale. 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.
Description
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| leandrocp | mdex | >= 0.13.1, < 0.15.0 |
| leandrocp | mdex | >= 0be090a78dbe587a90814a7481b039d10996863c, < 22a0c7b6614f84648e72699f3e426f20b7f04ba6 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-131906?
How severe is CVE-2026-131906?
How do I fix CVE-2026-131906?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-131877Convert::ASN1 versions before 0.37 for Perl allow CPU exhaus…7.5
- CVE-2026-13188In Progress® Telerik® UI for AJAX prior to v2026.2.708, Dial…5.9
- CVE-2026-13189In Progress® Telerik® UI for AJAX prior to v2026.2.708, insu…7.5
- CVE-2026-1319The Robin Image Optimizer – Unlimited Image Optimization & W…6.4
- CVE-2026-13190In Progress® Telerik® UI for AJAX prior to v2026.2.708, a de…8.1
- CVE-2026-131902XML Injection vulnerability in ex-aws ex_aws_s3 allows an at…5.9
- CVE-2026-13191The Create plugin for WordPress is vulnerable to generic SQL…6.5
- CVE-2026-131914Deserialization of untrusted data in double-submit cookie vs…9.8
- CVE-2026-131916GENAI Web provided by Digital Agency contains a server-side …5.1
- CVE-2026-13192In Progress® Telerik® UI for AJAX prior to v2026.2.708, insu…6.5
- CVE-2026-131920In OpenStack Cinder before 29.1.1, by making an os-initializ…6.9
- CVE-2026-131922In OpenStack keystonemiddleware before 13.0.3, by supplying …4.3
Are you affected by CVE-2026-131906?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
