Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › CVE › Vulnerabilities

CVE-2026-135775 — leandrocp mdex

Medium · CVSS 5.9EPSS 0.3% First seen November 30, 2026

One of 10 leandrocp mdex vulnerabilities published together by NVD: our article covers all of them.

Vulnerabilities

Summary

Inefficient Algorithmic Complexity vulnerability in leandrocp mdex allows an attacker who controls rendered Markdown to cause a denial of service via a bare URL followed by many closing parentheses. When auto-close is active, MDEx.FragmentParser.autolink_size/2 in lib/mdex/fragment_parser.ex trims trailing ) from a bare URL one byte at a time and recounts every ( and ) in the remaining URL at each step, so a URL followed by N parentheses costs O(N²) work. Around 20 KB of input pins a scheduler for tens of seconds, and MDEx.stream/2 repeats the completion over the whole accumulated source for every chunk. No extension needs to be enabled. Rendering with auto-close disabled is not affected. This issue affects mdex: from 0.14.2 before 0.15.0.

Description: NIST National Vulnerability Database (public domain)

Severity breakdown

Medium · 5.9 CVSS 4.0 base score from the CNA

An attacker without an account can exploit this with local access, without any user action, but only under specific conditions.

Attack from
local access (a logged-in user, or a malicious file opened on the device)
Attack complexity
low (no special conditions)
Special conditions
only in some setups or conditions
Login needed
no
User action needed
no
Impact
high on availability, none on confidentiality and integrity
Impact on other systems
none

Vector CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/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

Weakness

  • CWE-407: Inefficient Algorithmic Complexity

Affected and fixed versions

ProductAffected versionsFixed in
leandrocp mdex≥ 0.14.2, < 0.15.00.15.0

From the vendor's CVE record; confirm with the vendor advisory before relying on a version number.

References by type

Patches and fixed releases

Other references

Details from NVD (public domain).

Affected

  • leandrocp mdex

What to do

  • Follow the vendor advisory and the references below for fixed versions and workarounds.

Frequently asked questions

What is CVE-2026-135775?

Inefficient Algorithmic Complexity vulnerability in leandrocp mdex allows an attacker who controls rendered Markdown to cause a denial of service via a bare URL followed by many closing parentheses. Weakness type: Inefficient Algorithmic Complexity (CWE-407).

How severe is CVE-2026-135775?

CVE-2026-135775 has a CVSS 4.0 base score of 5.9 (medium), from the CNA. An attacker without an account can exploit this with local access, without any user action, but only under specific conditions.

Is CVE-2026-135775 being exploited?

Not as far as is known: CVE-2026-135775 is not in CISA's Known Exploited Vulnerabilities catalog as of December 2, 2026. EPSS estimates a 0.3% chance that it is exploited in the next 30 days.

Which versions are affected by CVE-2026-135775?

leandrocp mdex ≥ 0.14.2, < 0.15.0 (fixed in 0.15.0).

How do I fix CVE-2026-135775?

Update to a fixed release: leandrocp mdex 0.15.0.

Timeline & sources

References