CVE-2026-131906 (GCVE-0-2026-131906)

Vulnerability from cvelistv5 – Published: 2026-11-30 18:44 – Updated: 2026-11-30 19:00
VLAI
Title
Cubic-time nested block quote rendering in MDEx to_slack enables CPU denial of service
Summary
Inefficient Algorithmic Complexity vulnerability in leandrocp mdex allows an attacker to cause a denial of service through excessive CPU consumption via crafted nested block quotes passed to MDEx.to_slack/2. render_quote/2 in lib/mdex/slack_converter.ex renders the whole child subtree of a block quote to a binary, splits it on newlines and rejoins it with a > prefix, and repeats this at every nesting level. Block quote depth is not limited, so an input with d leading > characters followed by m lazy-continuation lines ending in a backslash hard break costs time proportional to d²·m. A 16 KB message takes about 16 seconds of CPU and produces 32 MB of output, and the cost grows about eightfold each time the input doubles. Any application that converts untrusted Markdown with MDEx.to_slack/2 or MDEx.to_slack!/2 is affected. This issue affects mdex: from 0.13.1 before 0.15.0.
SSVC
Exploitation: none Automatable: no Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-11-30 19:00 UTC
CWE
  • CWE-407 - Inefficient Algorithmic Complexity
Assigner
EEF CNA under the mitre root
CNA scorecard A 97/100 over 385 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
leandrocp mdex Affected: 0.13.1 , < 0.15.0 (semver)
    cpe:2.3:a:leandrocp:mdex:*:*:*:*:*:*:*:*
Create a notification for this product.
leandrocp mdex Affected: 0be090a78dbe587a90814a7481b039d10996863c , < 22a0c7b6614f84648e72699f3e426f20b7f04ba6 (git)
    cpe:2.3:a:leandrocp:mdex:*:*:*:*:*:*:*:*
Create a notification for this product.
Date Public
2026-11-30 18:44
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-131906",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-11-30T19:00:07.009914Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-11-30T19:00:14.790Z",
          "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.SlackConverter\u0027",
            "\u0027Elixir.MDEx\u0027"
          ],
          "packageName": "mdex",
          "packageURL": "pkg:hex/mdex",
          "product": "mdex",
          "programFiles": [
            "lib/mdex/slack_converter.ex",
            "lib/mdex.ex"
          ],
          "programRoutines": [
            {
              "name": "\u0027Elixir.MDEx.SlackConverter\u0027:render_quote/2"
            },
            {
              "name": "\u0027Elixir.MDEx.SlackConverter\u0027:convert/2"
            },
            {
              "name": "\u0027Elixir.MDEx\u0027:to_slack/2"
            },
            {
              "name": "\u0027Elixir.MDEx\u0027:to_slack!/2"
            }
          ],
          "repo": "https://github.com/leandrocp/mdex",
          "vendor": "leandrocp",
          "versions": [
            {
              "lessThan": "0.15.0",
              "status": "affected",
              "version": "0.13.1",
              "versionType": "semver"
            }
          ]
        },
        {
          "collectionURL": "https://github.com",
          "cpes": [
            "cpe:2.3:a:leandrocp:mdex:*:*:*:*:*:*:*:*"
          ],
          "defaultStatus": "unaffected",
          "modules": [
            "\u0027Elixir.MDEx.SlackConverter\u0027",
            "\u0027Elixir.MDEx\u0027"
          ],
          "packageName": "leandrocp/mdex",
          "packageURL": "pkg:github/leandrocp/mdex",
          "product": "mdex",
          "programFiles": [
            "lib/mdex/slack_converter.ex",
            "lib/mdex.ex"
          ],
          "programRoutines": [
            {
              "name": "\u0027Elixir.MDEx.SlackConverter\u0027:render_quote/2"
            },
            {
              "name": "\u0027Elixir.MDEx.SlackConverter\u0027:convert/2"
            },
            {
              "name": "\u0027Elixir.MDEx\u0027:to_slack/2"
            },
            {
              "name": "\u0027Elixir.MDEx\u0027:to_slack!/2"
            }
          ],
          "repo": "https://github.com/leandrocp/mdex",
          "vendor": "leandrocp",
          "versions": [
            {
              "lessThan": "22a0c7b6614f84648e72699f3e426f20b7f04ba6",
              "status": "affected",
              "version": "0be090a78dbe587a90814a7481b039d10996863c",
              "versionType": "git"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:leandrocp:mdex:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "0.15.0",
                  "versionStartIncluding": "0.13.1",
                  "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:55:41.000Z",
      "datePublic": "2026-11-30T18:44:51.000Z",
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003eInefficient Algorithmic Complexity vulnerability in leandrocp mdex allows an attacker to cause a denial of service through excessive CPU consumption via crafted nested block quotes passed to \u003ccode\u003eMDEx.to_slack/2\u003c/code\u003e.\u003c/p\u003e\n\u003cp\u003e\u003ccode\u003erender_quote/2\u003c/code\u003e in \u003ccode\u003elib/mdex/slack_converter.ex\u003c/code\u003e renders the whole child subtree of a block quote to a binary, splits it on newlines and rejoins it with a \u003ccode\u003e\u0026gt; \u003c/code\u003e prefix, and repeats this at every nesting level. Block quote depth is not limited, so an input with d leading \u003ccode\u003e\u0026gt;\u003c/code\u003e characters followed by m lazy-continuation lines ending in a backslash hard break costs time proportional to d\u00b2\u00b7m. A 16 KB message takes about 16 seconds of CPU and produces 32 MB of output, and the cost grows about eightfold each time the input doubles. Any application that converts untrusted Markdown with \u003ccode\u003eMDEx.to_slack/2\u003c/code\u003e or \u003ccode\u003eMDEx.to_slack!/2\u003c/code\u003e is affected.\u003c/p\u003e\n\u003cp\u003eThis issue affects mdex: from 0.13.1 before 0.15.0.\u003c/p\u003e"
            },
            {
              "base64": false,
              "type": "text/markdown",
              "value": "Inefficient Algorithmic Complexity vulnerability in leandrocp mdex allows an attacker to cause a denial of service through excessive CPU consumption via crafted nested block quotes passed to `MDEx.to_slack/2`.\n\n`render_quote/2` in `lib/mdex/slack_converter.ex` renders the whole child subtree of a block quote to a binary, splits it on newlines and rejoins it with a `\u003e ` prefix, and repeats this at every nesting level. Block quote depth is not limited, so an input with d leading `\u003e` characters followed by m lazy-continuation lines ending in a backslash hard break costs time proportional to d\u00b2\u00b7m. A 16 KB message takes about 16 seconds of CPU and produces 32 MB of output, and the cost grows about eightfold each time the input doubles. Any application that converts untrusted Markdown with `MDEx.to_slack/2` or `MDEx.to_slack!/2` is affected.\n\nThis issue affects mdex: from 0.13.1 before 0.15.0."
            }
          ],
          "value": "Inefficient Algorithmic Complexity vulnerability in leandrocp mdex allows an attacker to cause a denial of service through excessive CPU consumption via crafted nested block quotes passed to MDEx.to_slack/2.\n\nrender_quote/2 in lib/mdex/slack_converter.ex renders the whole child subtree of a block quote to a binary, splits it on newlines and rejoins it with a \u003e  prefix, and repeats this at every nesting level. Block quote depth is not limited, so an input with d leading \u003e characters followed by m lazy-continuation lines ending in a backslash hard break costs time proportional to d\u00b2\u00b7m. A 16 KB message takes about 16 seconds of CPU and produces 32 MB of output, and the cost grows about eightfold each time the input doubles. Any application that converts untrusted Markdown with MDEx.to_slack/2 or MDEx.to_slack!/2 is affected.\n\nThis issue affects mdex: from 0.13.1 before 0.15.0."
        }
      ],
      "impacts": [
        {
          "capecId": "CAPEC-130",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eAn attacker who can submit a few kilobytes of Markdown to an application that forwards it to Slack through \u003ccode\u003eMDEx.to_slack/2\u003c/code\u003e can occupy a scheduler for seconds to minutes per message and force tens of megabytes of allocation, degrading or denying service to other users.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "An attacker who can submit a few kilobytes of Markdown to an application that forwards it to Slack through `MDEx.to_slack/2` can occupy a scheduler for seconds to minutes per message and force tens of megabytes of allocation, degrading or denying service to other users."
                }
              ],
              "value": "An attacker who can submit a few kilobytes of Markdown to an application that forwards it to Slack through MDEx.to_slack/2 can occupy a scheduler for seconds to minutes per message and force tens of megabytes of allocation, degrading or denying service to other users."
            }
          ]
        }
      ],
      "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:44:52.769Z",
        "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "shortName": "EEF"
      },
      "references": [
        {
          "name": "EEF CNA record for CVE-2026-131906",
          "tags": [
            "related",
            "third-party-advisory"
          ],
          "url": "https://cna.erlef.org/cves/CVE-2026-131906.html"
        },
        {
          "name": "OSV record EEF-CVE-2026-131906",
          "tags": [
            "related"
          ],
          "url": "https://osv.dev/vulnerability/EEF-CVE-2026-131906"
        },
        {
          "name": "Introducing commit 0be090a in leandrocp/mdex",
          "tags": [
            "related"
          ],
          "url": "https://github.com/leandrocp/mdex/commit/0be090a78dbe587a90814a7481b039d10996863c"
        },
        {
          "name": "Fix commit 22a0c7b in leandrocp/mdex",
          "tags": [
            "patch"
          ],
          "url": "https://github.com/leandrocp/mdex/commit/22a0c7b6614f84648e72699f3e426f20b7f04ba6"
        }
      ],
      "source": {
        "discovery": "INTERNAL"
      },
      "title": "Cubic-time nested block quote rendering in MDEx to_slack enables CPU denial of service",
      "x_proofOfConcept": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003col\u003e\n\u003cli\u003eBuild a Markdown string of 4000 \u003ccode\u003e\u0026gt;\u003c/code\u003e characters followed by \u003ccode\u003e a\\\u003c/code\u003e, a newline, 4000 lines of \u003ccode\u003eb\\\u003c/code\u003e, and a final \u003ccode\u003ec\u003c/code\u003e (about 16 KB).\u003c/li\u003e\n\u003cli\u003ePass it to \u003ccode\u003eMDEx.to_slack!/1\u003c/code\u003e.\u003c/li\u003e\n\u003cli\u003eObserve about 16 seconds of CPU and 32 MB of output, while \u003ccode\u003eMDEx.to_html!/1\u003c/code\u003e on the same input returns in about 1 ms.\u003c/li\u003e\n\u003c/ol\u003e"
            },
            {
              "base64": false,
              "type": "text/markdown",
              "value": "1. Build a Markdown string of 4000 `\u003e` characters followed by ` a\\`, a newline, 4000 lines of `b\\`, and a final `c` (about 16 KB).\n2. Pass it to `MDEx.to_slack!/1`.\n3. Observe about 16 seconds of CPU and 32 MB of output, while `MDEx.to_html!/1` on the same input returns in about 1 ms."
            }
          ],
          "value": "* Build a Markdown string of 4000 \u003e characters followed by  a\\, a newline, 4000 lines of b\\, and a final c (about 16 KB).\n* Pass it to MDEx.to_slack!/1.\n* Observe about 16 seconds of CPU and 32 MB of output, while MDEx.to_html!/1 on the same input returns in about 1 ms."
        }
      ]
    }
  },
  "cveMetadata": {
    "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
    "assignerShortName": "EEF",
    "cveId": "CVE-2026-131906",
    "datePublished": "2026-11-30T18:44:52.769Z",
    "dateReserved": "2026-11-30T16:55:39.209Z",
    "dateUpdated": "2026-11-30T19:00:14.790Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-131906",
      "date": "2026-12-04",
      "epss": "0.00316",
      "percentile": "0.26478"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "collectionURL": "https://repo.hex.pm",
                "cpes": [
                  "cpe:2.3:a:leandrocp:mdex:*:*:*:*:*:*:*:*"
                ],
                "defaultStatus": "unaffected",
                "modules": [
                  "\u0027Elixir.MDEx.SlackConverter\u0027",
                  "\u0027Elixir.MDEx\u0027"
                ],
                "packageName": "mdex",
                "packageURL": "pkg:hex/mdex",
                "product": "mdex",
                "programFiles": [
                  "lib/mdex/slack_converter.ex",
                  "lib/mdex.ex"
                ],
                "programRoutines": [
                  {
                    "name": "\u0027Elixir.MDEx.SlackConverter\u0027:render_quote/2"
                  },
                  {
                    "name": "\u0027Elixir.MDEx.SlackConverter\u0027:convert/2"
                  },
                  {
                    "name": "\u0027Elixir.MDEx\u0027:to_slack/2"
                  },
                  {
                    "name": "\u0027Elixir.MDEx\u0027:to_slack!/2"
                  }
                ],
                "repo": "https://github.com/leandrocp/mdex",
                "vendor": "leandrocp",
                "versions": [
                  {
                    "lessThan": "0.15.0",
                    "status": "affected",
                    "version": "0.13.1",
                    "versionType": "semver"
                  }
                ]
              },
              {
                "collectionURL": "https://github.com",
                "cpes": [
                  "cpe:2.3:a:leandrocp:mdex:*:*:*:*:*:*:*:*"
                ],
                "defaultStatus": "unaffected",
                "modules": [
                  "\u0027Elixir.MDEx.SlackConverter\u0027",
                  "\u0027Elixir.MDEx\u0027"
                ],
                "packageName": "leandrocp/mdex",
                "packageURL": "pkg:github/leandrocp/mdex",
                "product": "mdex",
                "programFiles": [
                  "lib/mdex/slack_converter.ex",
                  "lib/mdex.ex"
                ],
                "programRoutines": [
                  {
                    "name": "\u0027Elixir.MDEx.SlackConverter\u0027:render_quote/2"
                  },
                  {
                    "name": "\u0027Elixir.MDEx.SlackConverter\u0027:convert/2"
                  },
                  {
                    "name": "\u0027Elixir.MDEx\u0027:to_slack/2"
                  },
                  {
                    "name": "\u0027Elixir.MDEx\u0027:to_slack!/2"
                  }
                ],
                "repo": "https://github.com/leandrocp/mdex",
                "vendor": "leandrocp",
                "versions": [
                  {
                    "lessThan": "22a0c7b6614f84648e72699f3e426f20b7f04ba6",
                    "status": "affected",
                    "version": "0be090a78dbe587a90814a7481b039d10996863c",
                    "versionType": "git"
                  }
                ]
              }
            ],
            "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "Inefficient Algorithmic Complexity vulnerability in leandrocp mdex allows an attacker to cause a denial of service through excessive CPU consumption via crafted nested block quotes passed to MDEx.to_slack/2.\n\nrender_quote/2 in lib/mdex/slack_converter.ex renders the whole child subtree of a block quote to a binary, splits it on newlines and rejoins it with a \u003e  prefix, and repeats this at every nesting level. Block quote depth is not limited, so an input with d leading \u003e characters followed by m lazy-continuation lines ending in a backslash hard break costs time proportional to d\u00b2\u00b7m. A 16 KB message takes about 16 seconds of CPU and produces 32 MB of output, and the cost grows about eightfold each time the input doubles. Any application that converts untrusted Markdown with MDEx.to_slack/2 or MDEx.to_slack!/2 is affected.\n\nThis issue affects mdex: from 0.13.1 before 0.15.0."
          }
        ],
        "id": "CVE-2026-131906",
        "lastModified": "2026-11-30T19:17:44.003",
        "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-131906",
                "options": [
                  {
                    "exploitation": "none"
                  },
                  {
                    "automatable": "no"
                  },
                  {
                    "technicalImpact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-11-30T19:00:07.009914Z",
                "version": "2.0.3"
              }
            }
          ]
        },
        "published": "2026-11-30T19:17:44.003",
        "references": [
          {
            "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "url": "https://cna.erlef.org/cves/CVE-2026-131906.html"
          },
          {
            "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "url": "https://github.com/leandrocp/mdex/commit/0be090a78dbe587a90814a7481b039d10996863c"
          },
          {
            "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "url": "https://github.com/leandrocp/mdex/commit/22a0c7b6614f84648e72699f3e426f20b7f04ba6"
          },
          {
            "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "url": "https://osv.dev/vulnerability/EEF-CVE-2026-131906"
          }
        ],
        "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-131906",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-11-30T19:00:07.009914Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-11-30T19:00:11.328Z",
              "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.SlackConverter\u0027",
                "\u0027Elixir.MDEx\u0027"
              ],
              "packageName": "mdex",
              "packageURL": "pkg:hex/mdex",
              "product": "mdex",
              "programFiles": [
                "lib/mdex/slack_converter.ex",
                "lib/mdex.ex"
              ],
              "programRoutines": [
                {
                  "name": "\u0027Elixir.MDEx.SlackConverter\u0027:render_quote/2"
                },
                {
                  "name": "\u0027Elixir.MDEx.SlackConverter\u0027:convert/2"
                },
                {
                  "name": "\u0027Elixir.MDEx\u0027:to_slack/2"
                },
                {
                  "name": "\u0027Elixir.MDEx\u0027:to_slack!/2"
                }
              ],
              "repo": "https://github.com/leandrocp/mdex",
              "vendor": "leandrocp",
              "versions": [
                {
                  "lessThan": "0.15.0",
                  "status": "affected",
                  "version": "0.13.1",
                  "versionType": "semver"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:leandrocp:mdex:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "\u0027Elixir.MDEx.SlackConverter\u0027",
                "\u0027Elixir.MDEx\u0027"
              ],
              "packageName": "leandrocp/mdex",
              "packageURL": "pkg:github/leandrocp/mdex",
              "product": "mdex",
              "programFiles": [
                "lib/mdex/slack_converter.ex",
                "lib/mdex.ex"
              ],
              "programRoutines": [
                {
                  "name": "\u0027Elixir.MDEx.SlackConverter\u0027:render_quote/2"
                },
                {
                  "name": "\u0027Elixir.MDEx.SlackConverter\u0027:convert/2"
                },
                {
                  "name": "\u0027Elixir.MDEx\u0027:to_slack/2"
                },
                {
                  "name": "\u0027Elixir.MDEx\u0027:to_slack!/2"
                }
              ],
              "repo": "https://github.com/leandrocp/mdex",
              "vendor": "leandrocp",
              "versions": [
                {
                  "lessThan": "22a0c7b6614f84648e72699f3e426f20b7f04ba6",
                  "status": "affected",
                  "version": "0be090a78dbe587a90814a7481b039d10996863c",
                  "versionType": "git"
                }
              ]
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:leandrocp:mdex:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "0.15.0",
                      "versionStartIncluding": "0.13.1",
                      "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:55:41.000Z",
          "datePublic": "2026-11-30T18:44:51.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eInefficient Algorithmic Complexity vulnerability in leandrocp mdex allows an attacker to cause a denial of service through excessive CPU consumption via crafted nested block quotes passed to \u003ccode\u003eMDEx.to_slack/2\u003c/code\u003e.\u003c/p\u003e\n\u003cp\u003e\u003ccode\u003erender_quote/2\u003c/code\u003e in \u003ccode\u003elib/mdex/slack_converter.ex\u003c/code\u003e renders the whole child subtree of a block quote to a binary, splits it on newlines and rejoins it with a \u003ccode\u003e\u0026gt; \u003c/code\u003e prefix, and repeats this at every nesting level. Block quote depth is not limited, so an input with d leading \u003ccode\u003e\u0026gt;\u003c/code\u003e characters followed by m lazy-continuation lines ending in a backslash hard break costs time proportional to d\u00b2\u00b7m. A 16 KB message takes about 16 seconds of CPU and produces 32 MB of output, and the cost grows about eightfold each time the input doubles. Any application that converts untrusted Markdown with \u003ccode\u003eMDEx.to_slack/2\u003c/code\u003e or \u003ccode\u003eMDEx.to_slack!/2\u003c/code\u003e is affected.\u003c/p\u003e\n\u003cp\u003eThis issue affects mdex: from 0.13.1 before 0.15.0.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Inefficient Algorithmic Complexity vulnerability in leandrocp mdex allows an attacker to cause a denial of service through excessive CPU consumption via crafted nested block quotes passed to `MDEx.to_slack/2`.\n\n`render_quote/2` in `lib/mdex/slack_converter.ex` renders the whole child subtree of a block quote to a binary, splits it on newlines and rejoins it with a `\u003e ` prefix, and repeats this at every nesting level. Block quote depth is not limited, so an input with d leading `\u003e` characters followed by m lazy-continuation lines ending in a backslash hard break costs time proportional to d\u00b2\u00b7m. A 16 KB message takes about 16 seconds of CPU and produces 32 MB of output, and the cost grows about eightfold each time the input doubles. Any application that converts untrusted Markdown with `MDEx.to_slack/2` or `MDEx.to_slack!/2` is affected.\n\nThis issue affects mdex: from 0.13.1 before 0.15.0."
                }
              ],
              "value": "Inefficient Algorithmic Complexity vulnerability in leandrocp mdex allows an attacker to cause a denial of service through excessive CPU consumption via crafted nested block quotes passed to MDEx.to_slack/2.\n\nrender_quote/2 in lib/mdex/slack_converter.ex renders the whole child subtree of a block quote to a binary, splits it on newlines and rejoins it with a \u003e  prefix, and repeats this at every nesting level. Block quote depth is not limited, so an input with d leading \u003e characters followed by m lazy-continuation lines ending in a backslash hard break costs time proportional to d\u00b2\u00b7m. A 16 KB message takes about 16 seconds of CPU and produces 32 MB of output, and the cost grows about eightfold each time the input doubles. Any application that converts untrusted Markdown with MDEx.to_slack/2 or MDEx.to_slack!/2 is affected.\n\nThis issue affects mdex: from 0.13.1 before 0.15.0."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-130",
              "descriptions": [
                {
                  "lang": "en",
                  "supportingMedia": [
                    {
                      "base64": false,
                      "type": "text/html",
                      "value": "\u003cp\u003eAn attacker who can submit a few kilobytes of Markdown to an application that forwards it to Slack through \u003ccode\u003eMDEx.to_slack/2\u003c/code\u003e can occupy a scheduler for seconds to minutes per message and force tens of megabytes of allocation, degrading or denying service to other users.\u003c/p\u003e"
                    },
                    {
                      "base64": false,
                      "type": "text/markdown",
                      "value": "An attacker who can submit a few kilobytes of Markdown to an application that forwards it to Slack through `MDEx.to_slack/2` can occupy a scheduler for seconds to minutes per message and force tens of megabytes of allocation, degrading or denying service to other users."
                    }
                  ],
                  "value": "An attacker who can submit a few kilobytes of Markdown to an application that forwards it to Slack through MDEx.to_slack/2 can occupy a scheduler for seconds to minutes per message and force tens of megabytes of allocation, degrading or denying service to other users."
                }
              ]
            }
          ],
          "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:44:52.769Z",
            "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "shortName": "EEF"
          },
          "references": [
            {
              "name": "EEF CNA record for CVE-2026-131906",
              "tags": [
                "related",
                "third-party-advisory"
              ],
              "url": "https://cna.erlef.org/cves/CVE-2026-131906.html"
            },
            {
              "name": "OSV record EEF-CVE-2026-131906",
              "tags": [
                "related"
              ],
              "url": "https://osv.dev/vulnerability/EEF-CVE-2026-131906"
            },
            {
              "name": "Introducing commit 0be090a in leandrocp/mdex",
              "tags": [
                "related"
              ],
              "url": "https://github.com/leandrocp/mdex/commit/0be090a78dbe587a90814a7481b039d10996863c"
            },
            {
              "name": "Fix commit 22a0c7b in leandrocp/mdex",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/leandrocp/mdex/commit/22a0c7b6614f84648e72699f3e426f20b7f04ba6"
            }
          ],
          "source": {
            "discovery": "INTERNAL"
          },
          "title": "Cubic-time nested block quote rendering in MDEx to_slack enables CPU denial of service",
          "x_proofOfConcept": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003col\u003e\n\u003cli\u003eBuild a Markdown string of 4000 \u003ccode\u003e\u0026gt;\u003c/code\u003e characters followed by \u003ccode\u003e a\\\u003c/code\u003e, a newline, 4000 lines of \u003ccode\u003eb\\\u003c/code\u003e, and a final \u003ccode\u003ec\u003c/code\u003e (about 16 KB).\u003c/li\u003e\n\u003cli\u003ePass it to \u003ccode\u003eMDEx.to_slack!/1\u003c/code\u003e.\u003c/li\u003e\n\u003cli\u003eObserve about 16 seconds of CPU and 32 MB of output, while \u003ccode\u003eMDEx.to_html!/1\u003c/code\u003e on the same input returns in about 1 ms.\u003c/li\u003e\n\u003c/ol\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "1. Build a Markdown string of 4000 `\u003e` characters followed by ` a\\`, a newline, 4000 lines of `b\\`, and a final `c` (about 16 KB).\n2. Pass it to `MDEx.to_slack!/1`.\n3. Observe about 16 seconds of CPU and 32 MB of output, while `MDEx.to_html!/1` on the same input returns in about 1 ms."
                }
              ],
              "value": "* Build a Markdown string of 4000 \u003e characters followed by  a\\, a newline, 4000 lines of b\\, and a final c (about 16 KB).\n* Pass it to MDEx.to_slack!/1.\n* Observe about 16 seconds of CPU and 32 MB of output, while MDEx.to_html!/1 on the same input returns in about 1 ms."
            }
          ]
        }
      },
      "cveMetadata": {
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "assignerShortName": "EEF",
        "cveId": "CVE-2026-131906",
        "datePublished": "2026-11-30T18:44:52.769Z",
        "dateReserved": "2026-11-30T16:55:39.209Z",
        "dateUpdated": "2026-11-30T19:00:14.790Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

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.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

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

JSON
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.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    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.