CVE-2026-134916 (GCVE-0-2026-134916)
Vulnerability from cvelistv5 – Published: 2026-11-30 18:43 – Updated: 2026-12-03 18:05- CWE-407 - Inefficient Algorithmic Complexity
| URL | Tags |
|---|---|
| https://cna.erlef.org/cves/CVE-2026-134916.html | relatedthird-party-advisory |
| https://osv.dev/vulnerability/EEF-CVE-2026-134916 | related |
| https://github.com/leandrocp/mdex/commit/9852db24… | related |
| https://github.com/leandrocp/mdex/commit/75e735a2… | patch |
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-134916",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-12-03T17:11:53.718442Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-12-03T18:05:05.716Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"collectionURL": "https://repo.hex.pm",
"cpes": [
"cpe:2.3:a:leandrocp:mdex:*:*:*:*:*:*:*:*"
],
"defaultStatus": "unaffected",
"modules": [
"\u0027Elixir.MDEx\u0027",
"\u0027Elixir.MDEx.DeltaConverter\u0027"
],
"packageName": "mdex",
"packageURL": "pkg:hex/mdex",
"product": "mdex",
"programFiles": [
"lib/mdex.ex",
"lib/mdex/delta_converter.ex"
],
"programRoutines": [
{
"name": "\u0027Elixir.MDEx\u0027:to_delta/2"
},
{
"name": "\u0027Elixir.MDEx\u0027:\u0027to_delta!\u0027/2"
},
{
"name": "\u0027Elixir.MDEx.DeltaConverter\u0027:convert/2"
},
{
"name": "\u0027Elixir.MDEx.DeltaConverter\u0027:default_convert_node/3"
},
{
"name": "\u0027Elixir.MDEx.DeltaConverter\u0027: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": [
"\u0027Elixir.MDEx\u0027",
"\u0027Elixir.MDEx.DeltaConverter\u0027"
],
"packageName": "leandrocp/mdex",
"packageURL": "pkg:github/leandrocp/mdex",
"product": "mdex",
"programFiles": [
"lib/mdex.ex",
"lib/mdex/delta_converter.ex"
],
"programRoutines": [
{
"name": "\u0027Elixir.MDEx\u0027:to_delta/2"
},
{
"name": "\u0027Elixir.MDEx\u0027:\u0027to_delta!\u0027/2"
},
{
"name": "\u0027Elixir.MDEx.DeltaConverter\u0027:convert/2"
},
{
"name": "\u0027Elixir.MDEx.DeltaConverter\u0027:default_convert_node/3"
},
{
"name": "\u0027Elixir.MDEx.DeltaConverter\u0027: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\u00e4nnchen / 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": "\u003cp\u003eInefficient 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 \u003ccode\u003eMDEx.to_delta/2\u003c/code\u003e.\u003c/p\u003e\n\u003cp\u003eWhen converting a document to a Quill Delta, \u003ccode\u003eMDEx.DeltaConverter.default_convert_node/3\u003c/code\u003e in \u003ccode\u003elib/mdex/delta_converter.ex\u003c/code\u003e calls \u003ccode\u003eapply_block_format/2\u003c/code\u003e for every \u003ccode\u003eMDEx.BlockQuote\u003c/code\u003e and \u003ccode\u003eMDEx.Alert\u003c/code\u003e node, and that function rewrites every op produced by the node\u0027s 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 \u003ccode\u003eparse_time\u003c/code\u003e budget bounds only the native parse, not the conversion.\u003c/p\u003e\n\u003cp\u003eThis issue affects mdex: from 0.8.3 before 0.15.0.\u003c/p\u003e"
},
{
"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\u0027s 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\u0027s 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": "\u003cp\u003eAn unauthenticated attacker who can submit Markdown to an application that converts it with \u003ccode\u003eMDEx.to_delta/2\u003c/code\u003e can occupy BEAM schedulers for minutes per small request, degrading or denying service to every other user of the node while the attack continues.\u003c/p\u003e"
},
{
"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": "\u003col\u003e\n\u003cli\u003eBuild a Markdown document of 4,000 \u003ccode\u003e\u0026gt;\u003c/code\u003e characters, then \u003ccode\u003e a\u003c/code\u003e and a newline, then 40,000 lines of \u003ccode\u003eb\u003c/code\u003e (about 84 KB).\u003c/li\u003e\n\u003cli\u003eConvert it with \u003ccode\u003eMDEx.to_delta!(markdown, budget: [parse_time: 1_000])\u003c/code\u003e.\u003c/li\u003e\n\u003cli\u003eObserve that the call takes several seconds (9.4 s on 0.14.9), while \u003ccode\u003eMDEx.to_html!/1\u003c/code\u003e on the same input finishes in about 16 ms. Doubling depth and line count roughly quadruples the conversion time.\u003c/li\u003e\n\u003c/ol\u003e"
},
{
"base64": false,
"type": "text/markdown",
"value": "1. Build a Markdown document of 4,000 `\u003e` 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 \u003e 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": "\u003cp\u003e\u003cstrong\u003e1. Input.\u003c/strong\u003e Comrak sets no limit on block quote depth, so a line of d \u003ccode\u003e\u0026gt;\u003c/code\u003e characters followed by n lazy-continuation lines produces d nested \u003ccode\u003eMDEx.BlockQuote\u003c/code\u003e nodes holding about 2n ops, in only d+2n bytes.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e2. Conversion.\u003c/strong\u003e \u003ccode\u003eMDEx.DeltaConverter.default_convert_node/3\u003c/code\u003e converts each block quote\u0027s children first and then calls \u003ccode\u003eapply_block_format/2\u003c/code\u003e, which maps over every descendant op to add the \u003ccode\u003eblockquote\u003c/code\u003e attribute to newline ops. \u003ccode\u003eMDEx.Alert\u003c/code\u003e does the same with its alert attributes. Each nesting level walks and rebuilds the whole op list again, so total work is O(d\u00b7n).\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e3. Effect.\u003c/strong\u003e 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 \u003ccode\u003eMDEx.to_html/2\u003c/code\u003e stay under about 100 ms for the same inputs. \u003ccode\u003ebudget: [parse_time: ...]\u003c/code\u003e limits only the native parse: with \u003ccode\u003eparse_time: 1000\u003c/code\u003e the 105 KB input still spent 12 s in conversion.\u003c/p\u003e"
},
{
"base64": false,
"type": "text/markdown",
"value": "**1. Input.** Comrak sets no limit on block quote depth, so a line of d `\u003e` 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\u0027s 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\u00b7n).\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 \u003e 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\u0027s 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\u00b7n).\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-12-03T18:05:05.716Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2026-134916",
"date": "2026-12-04",
"epss": "0.0025",
"percentile": "0.17491"
},
"nvd": {
"cve": {
"affected": [
{
"affectedData": [
{
"collectionURL": "https://repo.hex.pm",
"cpes": [
"cpe:2.3:a:leandrocp:mdex:*:*:*:*:*:*:*:*"
],
"defaultStatus": "unaffected",
"modules": [
"\u0027Elixir.MDEx\u0027",
"\u0027Elixir.MDEx.DeltaConverter\u0027"
],
"packageName": "mdex",
"packageURL": "pkg:hex/mdex",
"product": "mdex",
"programFiles": [
"lib/mdex.ex",
"lib/mdex/delta_converter.ex"
],
"programRoutines": [
{
"name": "\u0027Elixir.MDEx\u0027:to_delta/2"
},
{
"name": "\u0027Elixir.MDEx\u0027:\u0027to_delta!\u0027/2"
},
{
"name": "\u0027Elixir.MDEx.DeltaConverter\u0027:convert/2"
},
{
"name": "\u0027Elixir.MDEx.DeltaConverter\u0027:default_convert_node/3"
},
{
"name": "\u0027Elixir.MDEx.DeltaConverter\u0027: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": [
"\u0027Elixir.MDEx\u0027",
"\u0027Elixir.MDEx.DeltaConverter\u0027"
],
"packageName": "leandrocp/mdex",
"packageURL": "pkg:github/leandrocp/mdex",
"product": "mdex",
"programFiles": [
"lib/mdex.ex",
"lib/mdex/delta_converter.ex"
],
"programRoutines": [
{
"name": "\u0027Elixir.MDEx\u0027:to_delta/2"
},
{
"name": "\u0027Elixir.MDEx\u0027:\u0027to_delta!\u0027/2"
},
{
"name": "\u0027Elixir.MDEx.DeltaConverter\u0027:convert/2"
},
{
"name": "\u0027Elixir.MDEx.DeltaConverter\u0027:default_convert_node/3"
},
{
"name": "\u0027Elixir.MDEx.DeltaConverter\u0027:apply_block_format/2"
}
],
"repo": "https://github.com/leandrocp/mdex",
"vendor": "leandrocp",
"versions": [
{
"lessThan": "75e735a26859f93c36f10d17a3119f856fe69009",
"status": "affected",
"version": "9852db2456fdc9d856eb636603a7f608e22e3793",
"versionType": "git"
}
]
}
],
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"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\u0027s 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."
}
],
"id": "CVE-2026-134916",
"lastModified": "2026-12-03T18:17:16.547",
"metrics": {
"cvssMetricV40": [
{
"cvssData": {
"Automatable": "NOT_DEFINED",
"Recovery": "NOT_DEFINED",
"Safety": "NOT_DEFINED",
"attackComplexity": "LOW",
"attackRequirements": "NONE",
"attackVector": "LOCAL",
"availabilityRequirement": "NOT_DEFINED",
"baseScore": 6.9,
"baseSeverity": "MEDIUM",
"confidentialityRequirement": "NOT_DEFINED",
"exploitMaturity": "NOT_DEFINED",
"integrityRequirement": "NOT_DEFINED",
"modifiedAttackComplexity": "NOT_DEFINED",
"modifiedAttackRequirements": "NOT_DEFINED",
"modifiedAttackVector": "NOT_DEFINED",
"modifiedPrivilegesRequired": "NOT_DEFINED",
"modifiedSubAvailabilityImpact": "NOT_DEFINED",
"modifiedSubConfidentialityImpact": "NOT_DEFINED",
"modifiedSubIntegrityImpact": "NOT_DEFINED",
"modifiedUserInteraction": "NOT_DEFINED",
"modifiedVulnAvailabilityImpact": "NOT_DEFINED",
"modifiedVulnConfidentialityImpact": "NOT_DEFINED",
"modifiedVulnIntegrityImpact": "NOT_DEFINED",
"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/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",
"version": "4.0",
"vulnAvailabilityImpact": "HIGH",
"vulnConfidentialityImpact": "NONE",
"vulnIntegrityImpact": "NONE",
"vulnerabilityResponseEffort": "NOT_DEFINED"
},
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"type": "Secondary"
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2026-134916",
"options": [
{
"exploitation": "none"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-12-03T17:11:53.718442Z",
"version": "2.0.3"
}
}
]
},
"published": "2026-11-30T19:17:47.350",
"references": [
{
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"url": "https://cna.erlef.org/cves/CVE-2026-134916.html"
},
{
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"url": "https://github.com/leandrocp/mdex/commit/75e735a26859f93c36f10d17a3119f856fe69009"
},
{
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"url": "https://github.com/leandrocp/mdex/commit/9852db2456fdc9d856eb636603a7f608e22e3793"
},
{
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"url": "https://osv.dev/vulnerability/EEF-CVE-2026-134916"
}
],
"sourceIdentifier": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"vulnStatus": "Received",
"weaknesses": [
{
"description": [
{
"lang": "en",
"value": "CWE-407"
}
],
"source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
"type": "Secondary"
}
]
}
},
"vulnrichment": {
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-134916",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-12-03T17:11:53.718442Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-12-03T17:11:55.515Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"collectionURL": "https://repo.hex.pm",
"cpes": [
"cpe:2.3:a:leandrocp:mdex:*:*:*:*:*:*:*:*"
],
"defaultStatus": "unaffected",
"modules": [
"\u0027Elixir.MDEx\u0027",
"\u0027Elixir.MDEx.DeltaConverter\u0027"
],
"packageName": "mdex",
"packageURL": "pkg:hex/mdex",
"product": "mdex",
"programFiles": [
"lib/mdex.ex",
"lib/mdex/delta_converter.ex"
],
"programRoutines": [
{
"name": "\u0027Elixir.MDEx\u0027:to_delta/2"
},
{
"name": "\u0027Elixir.MDEx\u0027:\u0027to_delta!\u0027/2"
},
{
"name": "\u0027Elixir.MDEx.DeltaConverter\u0027:convert/2"
},
{
"name": "\u0027Elixir.MDEx.DeltaConverter\u0027:default_convert_node/3"
},
{
"name": "\u0027Elixir.MDEx.DeltaConverter\u0027: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": [
"\u0027Elixir.MDEx\u0027",
"\u0027Elixir.MDEx.DeltaConverter\u0027"
],
"packageName": "leandrocp/mdex",
"packageURL": "pkg:github/leandrocp/mdex",
"product": "mdex",
"programFiles": [
"lib/mdex.ex",
"lib/mdex/delta_converter.ex"
],
"programRoutines": [
{
"name": "\u0027Elixir.MDEx\u0027:to_delta/2"
},
{
"name": "\u0027Elixir.MDEx\u0027:\u0027to_delta!\u0027/2"
},
{
"name": "\u0027Elixir.MDEx.DeltaConverter\u0027:convert/2"
},
{
"name": "\u0027Elixir.MDEx.DeltaConverter\u0027:default_convert_node/3"
},
{
"name": "\u0027Elixir.MDEx.DeltaConverter\u0027: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\u00e4nnchen / 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": "\u003cp\u003eInefficient 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 \u003ccode\u003eMDEx.to_delta/2\u003c/code\u003e.\u003c/p\u003e\n\u003cp\u003eWhen converting a document to a Quill Delta, \u003ccode\u003eMDEx.DeltaConverter.default_convert_node/3\u003c/code\u003e in \u003ccode\u003elib/mdex/delta_converter.ex\u003c/code\u003e calls \u003ccode\u003eapply_block_format/2\u003c/code\u003e for every \u003ccode\u003eMDEx.BlockQuote\u003c/code\u003e and \u003ccode\u003eMDEx.Alert\u003c/code\u003e node, and that function rewrites every op produced by the node\u0027s 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 \u003ccode\u003eparse_time\u003c/code\u003e budget bounds only the native parse, not the conversion.\u003c/p\u003e\n\u003cp\u003eThis issue affects mdex: from 0.8.3 before 0.15.0.\u003c/p\u003e"
},
{
"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\u0027s 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\u0027s 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": "\u003cp\u003eAn unauthenticated attacker who can submit Markdown to an application that converts it with \u003ccode\u003eMDEx.to_delta/2\u003c/code\u003e can occupy BEAM schedulers for minutes per small request, degrading or denying service to every other user of the node while the attack continues.\u003c/p\u003e"
},
{
"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": "\u003col\u003e\n\u003cli\u003eBuild a Markdown document of 4,000 \u003ccode\u003e\u0026gt;\u003c/code\u003e characters, then \u003ccode\u003e a\u003c/code\u003e and a newline, then 40,000 lines of \u003ccode\u003eb\u003c/code\u003e (about 84 KB).\u003c/li\u003e\n\u003cli\u003eConvert it with \u003ccode\u003eMDEx.to_delta!(markdown, budget: [parse_time: 1_000])\u003c/code\u003e.\u003c/li\u003e\n\u003cli\u003eObserve that the call takes several seconds (9.4 s on 0.14.9), while \u003ccode\u003eMDEx.to_html!/1\u003c/code\u003e on the same input finishes in about 16 ms. Doubling depth and line count roughly quadruples the conversion time.\u003c/li\u003e\n\u003c/ol\u003e"
},
{
"base64": false,
"type": "text/markdown",
"value": "1. Build a Markdown document of 4,000 `\u003e` 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 \u003e 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": "\u003cp\u003e\u003cstrong\u003e1. Input.\u003c/strong\u003e Comrak sets no limit on block quote depth, so a line of d \u003ccode\u003e\u0026gt;\u003c/code\u003e characters followed by n lazy-continuation lines produces d nested \u003ccode\u003eMDEx.BlockQuote\u003c/code\u003e nodes holding about 2n ops, in only d+2n bytes.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e2. Conversion.\u003c/strong\u003e \u003ccode\u003eMDEx.DeltaConverter.default_convert_node/3\u003c/code\u003e converts each block quote\u0027s children first and then calls \u003ccode\u003eapply_block_format/2\u003c/code\u003e, which maps over every descendant op to add the \u003ccode\u003eblockquote\u003c/code\u003e attribute to newline ops. \u003ccode\u003eMDEx.Alert\u003c/code\u003e does the same with its alert attributes. Each nesting level walks and rebuilds the whole op list again, so total work is O(d\u00b7n).\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e3. Effect.\u003c/strong\u003e 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 \u003ccode\u003eMDEx.to_html/2\u003c/code\u003e stay under about 100 ms for the same inputs. \u003ccode\u003ebudget: [parse_time: ...]\u003c/code\u003e limits only the native parse: with \u003ccode\u003eparse_time: 1000\u003c/code\u003e the 105 KB input still spent 12 s in conversion.\u003c/p\u003e"
},
{
"base64": false,
"type": "text/markdown",
"value": "**1. Input.** Comrak sets no limit on block quote depth, so a line of d `\u003e` 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\u0027s 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\u00b7n).\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 \u003e 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\u0027s 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\u00b7n).\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-12-03T18:05:05.716Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
}
}
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
How durations are calculated
Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.
Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.
Loading timeline…
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.