CVE-2026-135699
Last modified
CVE-2026-135699 is a low-severity vulnerability rated 2.1/10 on the CVSS scale. 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.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| leandrocp | mdex | >= 0.14.3, < 0.15.0 |
| leandrocp | mdex | >= 359d46b344042a2feda7c768051d39b9d460b210, < 2c29b28cd0473c24347aa00b95d16f9ce5f9d9af |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-135699?
How severe is CVE-2026-135699?
How do I fix CVE-2026-135699?
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-135692rConfig Core 8.0.0 before 8.2.17 and rConfig Pro before 8.4.…8.8
- CVE-2026-135693rConfig Core 8.0.0 before 8.2.17 and rConfig Pro before 8.4.…8.7
- CVE-2026-135694rConfig Core 8.1.0 before 8.2.20 and rConfig Pro before 8.4.…6.5
- CVE-2026-135695rConfig Core 8.0.0 before 8.2.13 and rConfig Pro before 8.4.…8.8
- CVE-2026-135696rConfig Core 8.2.19 before 8.2.22 contains a server-side req…7.5
- CVE-2026-135697CleverReach WP before 1.5.28 contains a missing authorizatio…5.3
- CVE-2026-1357The Migration, Backup, Staging – WPvivid Backup & Migration …9.8
- CVE-2026-13570A vulnerability was detected in SourceCodester Inventory Man…3.5
- CVE-2026-135703FFmpeg before 9.1 contains an uninitialized memory use vulne…3.3
- CVE-2026-135704FFmpeg before 9.1 contains an information disclosure vulnera…3.3
- CVE-2026-135705FFmpeg before 9.1 contains a stack out-of-bounds read vulner…6.1
- CVE-2026-135706FFmpeg before 9.1 contains a heap buffer overflow vulnerabil…7.8
Are you affected by CVE-2026-135699?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
