CVE-2026-137162
Last modified
CVE-2026-137162 is a low-severity vulnerability rated 2.1/10 on the CVSS scale. Inefficient Algorithmic Complexity vulnerability in leandrocp mdex allows an attacker who supplies Markdown to exhaust CPU via a long run of block quote markers when auto-close is enabled. When Markdown is rendered with auto_close: true or through MDEx.stream/2, MDEx.FragmentParser checks whether the last paragraph ends in an incomplete link reference definition. If that paragraph contains >, each line's leading quote prefix is expanded by expand_quote_prefix/2 in lib/mdex/fragment_parser.ex. EPSS estimates a 0.23% chance of exploitation in the next 30 days.
Description
Inefficient Algorithmic Complexity vulnerability in leandrocp mdex allows an attacker who supplies Markdown to exhaust CPU via a long run of block quote markers when auto-close is enabled. When Markdown is rendered with auto_close: true or through MDEx.stream/2, MDEx.FragmentParser checks whether the last paragraph ends in an incomplete link reference definition. If that paragraph contains >, each line's leading quote prefix is expanded by expand_quote_prefix/2 in lib/mdex/fragment_parser.ex. That function is body-recursive and prepends each character to the prefix built so far, copying it again for every leading space, tab or >, so a line of N such bytes costs O(N²). The prefix length is not bounded. A single line of a few hundred kilobytes of > ties up a scheduler for seconds, while the same input renders in milliseconds with auto-close off. This issue affects mdex: from 0.14.2 before 0.15.0.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| leandrocp | mdex | >= 0.14.2, < 0.15.0 |
| leandrocp | mdex | >= 9a4b76802bfcd12ba34337bf3cf7d62621d0fe92, < 2c29b28cd0473c24347aa00b95d16f9ce5f9d9af |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-137162?
How severe is CVE-2026-137162?
How do I fix CVE-2026-137162?
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-13714The Realtyna Organic IDX plugin + WPL Real Estate WordPress …9.8
- CVE-2026-137140The Customer Reviews for WooCommerce plugin for WordPress is…6.1
- CVE-2026-137141The Database for Contact Form 7, WPforms, Elementor forms pl…7.2
- CVE-2026-137145The BuddyPress Group Email Subscription plugin for WordPress…6.4
- CVE-2026-137159Incorrect Authorization vulnerability in ash-project ash all…5.9
- CVE-2026-13716Path traversal in server import and admin file upload in Cra…9.1
- CVE-2026-137164Permissive List of Allowed Inputs vulnerability in erlef-cna…5.1
- CVE-2026-13717A flaw was found in the Red Hat OpenShift AI (RHOAI) MaaS Ga…8.8
- CVE-2026-137179arduino-esp32 is an Arduino core for the ESP32, ESP32-S2, ES…9.1
- CVE-2026-13718The Tabs Responsive WordPress plugin through 2.5 does not s…6.8
- CVE-2026-137180Breeze is an open source IT platform combining remote monito…9.9
- CVE-2026-137181OpenFGA is an authorization and permission engine built for …7.1
Are you affected by CVE-2026-137162?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
