{
  "id": "CVE-2026-49851",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-49851",
  "published_at": "2026-06-24T17:05:33.602Z",
  "title": "Mistune: Potential DoS via quadratic-time parsing in parse_link_text",
  "vendor": "lepture",
  "product": "mistune",
  "cvss": {
    "score": 8.7,
    "source": "cna",
    "vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.3.0, Mistune is vulnerable to a CPU exhaustion DoS due to superlinear (approximately O(n²)) behavior in parse_link_text. When parsing Markdown containing many consecutive [ characters, parse_link_text repeatedly scans the input using a regex search inside a loop. Each iteration re-scans a large portion of the remaining string, resulting in quadratic-time behavior. An attacker-controlled Markdown input can therefore trigger excessive CPU usage with a very small payload. This vulnerability is fixed in 3.3.0.",
  "cwe": "CWE-400",
  "cvss_by_source": {
    "cna": 8.7
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "lepture",
        "product": "mistune",
        "ranges": [
          "\u003c 3.3.0"
        ],
        "fixed_in": [
          "3.3.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade mistune to 3.3.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/lepture/mistune/security/advisories/GHSA-qcq2-496w-v96p"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
