{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "3.3.3"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "fe02f40faf091f86da9ed62c865f31e11da111d7"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "060f73ac87e8cf6d9e9b48f2df28c0654d845a4c"
            },
            {
              "fixed": "fe02f40faf091f86da9ed62c865f31e11da111d7"
            }
          ],
          "repo": "https://github.com/lepture/mistune",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-47p6-w2rc-5qf7"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-400"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/121xxx/CVE-2026-121438.json"
  },
  "details": "Mistune before 3.3.3 contains a denial of service vulnerability in InlineParser.parse_link that allows attackers to cause quadratic CPU growth by supplying balanced nested brackets. Attackers can submit crafted Markdown with thousands of nested bracket pairs not forming a valid link, triggering repeated _contains_nested_link scans that exhaust CPU in parsing applications.",
  "id": "CVE-2026-121438",
  "modified": "2026-11-11T10:30:55.314580695Z",
  "published": "2026-11-03T14:28:29.879Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/121xxx/CVE-2026-121438.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/lepture/mistune/security/advisories/GHSA-47p6-w2rc-5qf7"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-121438"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/mistune-before-3.3.3-denial-of-service-via-balanced-bracket-link-parsing"
    },
    {
      "type": "FIX",
      "url": "https://github.com/lepture/mistune/commit/fe02f40faf091f86da9ed62c865f31e11da111d7"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Mistune before 3.3.3 Denial of Service via Balanced Bracket Link Parsing"
}