{"api_version":"1","generated_at":"2026-12-01T14:13:23+00:00","cve":"CVE-2026-134916","urls":{"html":"https://cve.report/CVE-2026-134916","api":"https://cve.report/api/cve/CVE-2026-134916.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-134916","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-134916"},"summary":{"title":"Quadratic CPU consumption in MDEx Quill Delta conversion of nested block quotes","description":"Inefficient Algorithmic Complexity vulnerability in leandrocp mdex allows an attacker who controls Markdown input to cause a denial of service through CPU exhaustion via deeply nested block quotes passed to MDEx.to_delta/2.\n\nWhen converting a document to a Quill Delta, MDEx.DeltaConverter.default_convert_node/3 in lib/mdex/delta_converter.ex calls apply_block_format/2 for every MDEx.BlockQuote and MDEx.Alert node, and that function rewrites every op produced by the node's descendants. Conversion therefore costs the nesting depth times the number of ops inside, and the parser places no limit on block quote depth. A document of a few hundred kilobytes keeps a scheduler busy for minutes, while parsing and HTML rendering of the same input finish in milliseconds. The parse_time budget bounds only the native parse, not the conversion.\n\nThis issue affects mdex: from 0.8.3 before 0.15.0.","state":"PUBLISHED","assigner":"EEF","published_at":"2026-11-30 19:17:47","updated_at":"2026-11-30 19:17:47"},"problem_types":["CWE-407","CWE-407 CWE-407 Inefficient Algorithmic Complexity"],"metrics":[{"version":"4.0","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","type":"Secondary","score":"6.9","severity":"MEDIUM","vector":"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/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","data":{"version":"4.0","vectorString":"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/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","baseScore":6.9,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","confidentialityRequirement":"NOT_DEFINED","integrityRequirement":"NOT_DEFINED","availabilityRequirement":"NOT_DEFINED","modifiedAttackVector":"NOT_DEFINED","modifiedAttackComplexity":"NOT_DEFINED","modifiedAttackRequirements":"NOT_DEFINED","modifiedPrivilegesRequired":"NOT_DEFINED","modifiedUserInteraction":"NOT_DEFINED","modifiedVulnConfidentialityImpact":"NOT_DEFINED","modifiedVulnIntegrityImpact":"NOT_DEFINED","modifiedVulnAvailabilityImpact":"NOT_DEFINED","modifiedSubConfidentialityImpact":"NOT_DEFINED","modifiedSubIntegrityImpact":"NOT_DEFINED","modifiedSubAvailabilityImpact":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED"}},{"version":"4.0","source":"CNA","type":"CVSS","score":"6.9","severity":"MEDIUM","vector":"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","data":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"LOCAL","baseScore":6.9,"baseSeverity":"MEDIUM","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnerabilityResponseEffort":"NOT_DEFINED"}}],"references":[{"url":"https://cna.erlef.org/cves/CVE-2026-134916.html","name":"https://cna.erlef.org/cves/CVE-2026-134916.html","refsource":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/leandrocp/mdex/commit/75e735a26859f93c36f10d17a3119f856fe69009","name":"https://github.com/leandrocp/mdex/commit/75e735a26859f93c36f10d17a3119f856fe69009","refsource":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-134916","name":"https://osv.dev/vulnerability/EEF-CVE-2026-134916","refsource":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/leandrocp/mdex/commit/9852db2456fdc9d856eb636603a7f608e22e3793","name":"https://github.com/leandrocp/mdex/commit/9852db2456fdc9d856eb636603a7f608e22e3793","refsource":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-134916","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-134916","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"leandrocp","product":"mdex","version":"affected 0.8.3 0.15.0 semver","platforms":[]},{"source":"CNA","vendor":"leandrocp","product":"mdex","version":"affected 9852db2456fdc9d856eb636603a7f608e22e3793 75e735a26859f93c36f10d17a3119f856fe69009 git","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"CNA","value":"Peter Ullrich","lang":"en"},{"source":"CNA","value":"Peter Ullrich","lang":"en"},{"source":"CNA","value":"Jonatan Männchen / EEF","lang":"en"},{"source":"CNA","value":"Leandro Pereira","lang":"en"}],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"collectionURL":"https://repo.hex.pm","cpes":["cpe:2.3:a:leandrocp:mdex:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","modules":["'Elixir.MDEx'","'Elixir.MDEx.DeltaConverter'"],"packageName":"mdex","packageURL":"pkg:hex/mdex","product":"mdex","programFiles":["lib/mdex.ex","lib/mdex/delta_converter.ex"],"programRoutines":[{"name":"'Elixir.MDEx':to_delta/2"},{"name":"'Elixir.MDEx':'to_delta!'/2"},{"name":"'Elixir.MDEx.DeltaConverter':convert/2"},{"name":"'Elixir.MDEx.DeltaConverter':default_convert_node/3"},{"name":"'Elixir.MDEx.DeltaConverter':apply_block_format/2"}],"repo":"https://github.com/leandrocp/mdex","vendor":"leandrocp","versions":[{"lessThan":"0.15.0","status":"affected","version":"0.8.3","versionType":"semver"}]},{"collectionURL":"https://github.com","cpes":["cpe:2.3:a:leandrocp:mdex:*:*:*:*:*:*:*:*"],"defaultStatus":"unaffected","modules":["'Elixir.MDEx'","'Elixir.MDEx.DeltaConverter'"],"packageName":"leandrocp/mdex","packageURL":"pkg:github/leandrocp/mdex","product":"mdex","programFiles":["lib/mdex.ex","lib/mdex/delta_converter.ex"],"programRoutines":[{"name":"'Elixir.MDEx':to_delta/2"},{"name":"'Elixir.MDEx':'to_delta!'/2"},{"name":"'Elixir.MDEx.DeltaConverter':convert/2"},{"name":"'Elixir.MDEx.DeltaConverter':default_convert_node/3"},{"name":"'Elixir.MDEx.DeltaConverter':apply_block_format/2"}],"repo":"https://github.com/leandrocp/mdex","vendor":"leandrocp","versions":[{"lessThan":"75e735a26859f93c36f10d17a3119f856fe69009","status":"affected","version":"9852db2456fdc9d856eb636603a7f608e22e3793","versionType":"git"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:leandrocp:mdex:*:*:*:*:*:*:*:*","versionEndExcluding":"0.15.0","versionStartIncluding":"0.8.3","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"AND"}],"credits":[{"lang":"en","type":"finder","value":"Peter Ullrich"},{"lang":"en","type":"reporter","value":"Peter Ullrich"},{"lang":"en","type":"analyst","value":"Jonatan Männchen / EEF"},{"lang":"en","type":"remediation developer","value":"Leandro Pereira"}],"dateAssigned":"2026-11-30T16:56:03.000Z","datePublic":"2026-11-30T18:43:37.000Z","descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>Inefficient Algorithmic Complexity vulnerability in leandrocp mdex allows an attacker who controls Markdown input to cause a denial of service through CPU exhaustion via deeply nested block quotes passed to <code>MDEx.to_delta/2</code>.</p>\n<p>When converting a document to a Quill Delta, <code>MDEx.DeltaConverter.default_convert_node/3</code> in <code>lib/mdex/delta_converter.ex</code> calls <code>apply_block_format/2</code> for every <code>MDEx.BlockQuote</code> and <code>MDEx.Alert</code> node, and that function rewrites every op produced by the node's descendants. Conversion therefore costs the nesting depth times the number of ops inside, and the parser places no limit on block quote depth. A document of a few hundred kilobytes keeps a scheduler busy for minutes, while parsing and HTML rendering of the same input finish in milliseconds. The <code>parse_time</code> budget bounds only the native parse, not the conversion.</p>\n<p>This issue affects mdex: from 0.8.3 before 0.15.0.</p>"},{"base64":false,"type":"text/markdown","value":"Inefficient Algorithmic Complexity vulnerability in leandrocp mdex allows an attacker who controls Markdown input to cause a denial of service through CPU exhaustion via deeply nested block quotes passed to `MDEx.to_delta/2`.\n\nWhen converting a document to a Quill Delta, `MDEx.DeltaConverter.default_convert_node/3` in `lib/mdex/delta_converter.ex` calls `apply_block_format/2` for every `MDEx.BlockQuote` and `MDEx.Alert` node, and that function rewrites every op produced by the node's descendants. Conversion therefore costs the nesting depth times the number of ops inside, and the parser places no limit on block quote depth. A document of a few hundred kilobytes keeps a scheduler busy for minutes, while parsing and HTML rendering of the same input finish in milliseconds. The `parse_time` budget bounds only the native parse, not the conversion.\n\nThis issue affects mdex: from 0.8.3 before 0.15.0."}],"value":"Inefficient Algorithmic Complexity vulnerability in leandrocp mdex allows an attacker who controls Markdown input to cause a denial of service through CPU exhaustion via deeply nested block quotes passed to MDEx.to_delta/2.\n\nWhen converting a document to a Quill Delta, MDEx.DeltaConverter.default_convert_node/3 in lib/mdex/delta_converter.ex calls apply_block_format/2 for every MDEx.BlockQuote and MDEx.Alert node, and that function rewrites every op produced by the node's descendants. Conversion therefore costs the nesting depth times the number of ops inside, and the parser places no limit on block quote depth. A document of a few hundred kilobytes keeps a scheduler busy for minutes, while parsing and HTML rendering of the same input finish in milliseconds. The parse_time budget bounds only the native parse, not the conversion.\n\nThis issue affects mdex: from 0.8.3 before 0.15.0."}],"impacts":[{"capecId":"CAPEC-230","descriptions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p>An unauthenticated attacker who can submit Markdown to an application that converts it with <code>MDEx.to_delta/2</code> can occupy BEAM schedulers for minutes per small request, degrading or denying service to every other user of the node while the attack continues.</p>"},{"base64":false,"type":"text/markdown","value":"An unauthenticated attacker who can submit Markdown to an application that converts it with `MDEx.to_delta/2` can occupy BEAM schedulers for minutes per small request, degrading or denying service to every other user of the node while the attack continues."}],"value":"An unauthenticated attacker who can submit Markdown to an application that converts it with MDEx.to_delta/2 can occupy BEAM schedulers for minutes per small request, degrading or denying service to every other user of the node while the attack continues."}]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"LOCAL","baseScore":6.9,"baseSeverity":"MEDIUM","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-407","description":"CWE-407 Inefficient Algorithmic Complexity","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-11-30T18:43:38.840Z","orgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","shortName":"EEF"},"references":[{"name":"EEF CNA record for CVE-2026-134916","tags":["related","third-party-advisory"],"url":"https://cna.erlef.org/cves/CVE-2026-134916.html"},{"name":"OSV record EEF-CVE-2026-134916","tags":["related"],"url":"https://osv.dev/vulnerability/EEF-CVE-2026-134916"},{"name":"Introducing commit 9852db2 in leandrocp/mdex","tags":["related"],"url":"https://github.com/leandrocp/mdex/commit/9852db2456fdc9d856eb636603a7f608e22e3793"},{"name":"Fix commit 75e735a in leandrocp/mdex","tags":["patch"],"url":"https://github.com/leandrocp/mdex/commit/75e735a26859f93c36f10d17a3119f856fe69009"}],"source":{"discovery":"INTERNAL"},"title":"Quadratic CPU consumption in MDEx Quill Delta conversion of nested block quotes","x_proofOfConcept":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<ol>\n<li>Build a Markdown document of 4,000 <code>&gt;</code> characters, then <code> a</code> and a newline, then 40,000 lines of <code>b</code> (about 84 KB).</li>\n<li>Convert it with <code>MDEx.to_delta!(markdown, budget: [parse_time: 1_000])</code>.</li>\n<li>Observe that the call takes several seconds (9.4 s on 0.14.9), while <code>MDEx.to_html!/1</code> on the same input finishes in about 16 ms. Doubling depth and line count roughly quadruples the conversion time.</li>\n</ol>"},{"base64":false,"type":"text/markdown","value":"1. Build a Markdown document of 4,000 `>` characters, then ` a` and a newline, then 40,000 lines of `b` (about 84 KB).\n2. Convert it with `MDEx.to_delta!(markdown, budget: [parse_time: 1_000])`.\n3. Observe that the call takes several seconds (9.4 s on 0.14.9), while `MDEx.to_html!/1` on the same input finishes in about 16 ms. Doubling depth and line count roughly quadruples the conversion time."}],"value":"* Build a Markdown document of 4,000 > characters, then  a and a newline, then 40,000 lines of b (about 84 KB).\n* Convert it with MDEx.to_delta!(markdown, budget: [parse_time: 1_000]).\n* Observe that the call takes several seconds (9.4 s on 0.14.9), while MDEx.to_html!/1 on the same input finishes in about 16 ms. Doubling depth and line count roughly quadruples the conversion time."}],"x_technicalAnalysis":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<p><strong>1. Input.</strong> Comrak sets no limit on block quote depth, so a line of d <code>&gt;</code> characters followed by n lazy-continuation lines produces d nested <code>MDEx.BlockQuote</code> nodes holding about 2n ops, in only d+2n bytes.</p>\n<p><strong>2. Conversion.</strong> <code>MDEx.DeltaConverter.default_convert_node/3</code> converts each block quote's children first and then calls <code>apply_block_format/2</code>, which maps over every descendant op to add the <code>blockquote</code> attribute to newline ops. <code>MDEx.Alert</code> does the same with its alert attributes. Each nesting level walks and rebuilds the whole op list again, so total work is O(d·n).</p>\n<p><strong>3. Effect.</strong> Measured on 0.14.7, depth 2,000 with 20,000 lines (42 KB) takes 1.9 s, depth 5,000 with 50,000 lines (105 KB) takes 15 s, and depth 10,000 with 100,000 lines (210 KB) takes 172 s. Parsing and <code>MDEx.to_html/2</code> stay under about 100 ms for the same inputs. <code>budget: [parse_time: ...]</code> limits only the native parse: with <code>parse_time: 1000</code> the 105 KB input still spent 12 s in conversion.</p>"},{"base64":false,"type":"text/markdown","value":"**1. Input.** Comrak sets no limit on block quote depth, so a line of d `>` characters followed by n lazy-continuation lines produces d nested `MDEx.BlockQuote` nodes holding about 2n ops, in only d+2n bytes.\n\n**2. Conversion.** `MDEx.DeltaConverter.default_convert_node/3` converts each block quote's children first and then calls `apply_block_format/2`, which maps over every descendant op to add the `blockquote` attribute to newline ops. `MDEx.Alert` does the same with its alert attributes. Each nesting level walks and rebuilds the whole op list again, so total work is O(d·n).\n\n**3. Effect.** Measured on 0.14.7, depth 2,000 with 20,000 lines (42 KB) takes 1.9 s, depth 5,000 with 50,000 lines (105 KB) takes 15 s, and depth 10,000 with 100,000 lines (210 KB) takes 172 s. Parsing and `MDEx.to_html/2` stay under about 100 ms for the same inputs. `budget: [parse_time: ...]` limits only the native parse: with `parse_time: 1000` the 105 KB input still spent 12 s in conversion."}],"value":"1. Input. Comrak sets no limit on block quote depth, so a line of d > characters followed by n lazy-continuation lines produces d nested MDEx.BlockQuote nodes holding about 2n ops, in only d+2n bytes.\n\n2. Conversion. MDEx.DeltaConverter.default_convert_node/3 converts each block quote's children first and then calls apply_block_format/2, which maps over every descendant op to add the blockquote attribute to newline ops. MDEx.Alert does the same with its alert attributes. Each nesting level walks and rebuilds the whole op list again, so total work is O(d·n).\n\n3. Effect. Measured on 0.14.7, depth 2,000 with 20,000 lines (42 KB) takes 1.9 s, depth 5,000 with 50,000 lines (105 KB) takes 15 s, and depth 10,000 with 100,000 lines (210 KB) takes 172 s. Parsing and MDEx.to_html/2 stay under about 100 ms for the same inputs. budget: [parse_time: ...] limits only the native parse: with parse_time: 1000 the 105 KB input still spent 12 s in conversion."}]}},"cveMetadata":{"assignerOrgId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","assignerShortName":"EEF","cveId":"CVE-2026-134916","datePublished":"2026-11-30T18:43:38.840Z","dateReserved":"2026-11-30T16:56:01.763Z","dateUpdated":"2026-11-30T18:43:38.840Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 19:17:47","lastModifiedDate":"2026-11-30 19:17:47","problem_types":["CWE-407","CWE-407 CWE-407 Inefficient Algorithmic Complexity"],"metrics":{"cvssMetricV40":[{"source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","type":"Secondary","cvssData":{"version":"4.0","vectorString":"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/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","baseScore":6.9,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","confidentialityRequirement":"NOT_DEFINED","integrityRequirement":"NOT_DEFINED","availabilityRequirement":"NOT_DEFINED","modifiedAttackVector":"NOT_DEFINED","modifiedAttackComplexity":"NOT_DEFINED","modifiedAttackRequirements":"NOT_DEFINED","modifiedPrivilegesRequired":"NOT_DEFINED","modifiedUserInteraction":"NOT_DEFINED","modifiedVulnConfidentialityImpact":"NOT_DEFINED","modifiedVulnIntegrityImpact":"NOT_DEFINED","modifiedVulnAvailabilityImpact":"NOT_DEFINED","modifiedSubConfidentialityImpact":"NOT_DEFINED","modifiedSubIntegrityImpact":"NOT_DEFINED","modifiedSubAvailabilityImpact":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED"}}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"134916","Ordinal":"1","Title":"Quadratic CPU consumption in MDEx Quill Delta conversion of nest","CVE":"CVE-2026-134916","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"134916","Ordinal":"1","NoteData":"Inefficient Algorithmic Complexity vulnerability in leandrocp mdex allows an attacker who controls Markdown input to cause a denial of service through CPU exhaustion via deeply nested block quotes passed to MDEx.to_delta/2.\n\nWhen converting a document to a Quill Delta, MDEx.DeltaConverter.default_convert_node/3 in lib/mdex/delta_converter.ex calls apply_block_format/2 for every MDEx.BlockQuote and MDEx.Alert node, and that function rewrites every op produced by the node's descendants. Conversion therefore costs the nesting depth times the number of ops inside, and the parser places no limit on block quote depth. A document of a few hundred kilobytes keeps a scheduler busy for minutes, while parsing and HTML rendering of the same input finish in milliseconds. The parse_time budget bounds only the native parse, not the conversion.\n\nThis issue affects mdex: from 0.8.3 before 0.15.0.","Type":"Description","Title":"Quadratic CPU consumption in MDEx Quill Delta conversion of nest"}]}}}