{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "3.0"
                  },
                  {
                    "last_affected": "3.11.2"
                  }
                ],
                "source": "DESCRIPTION"
              }
            ]
          },
          "events": [
            {
              "introduced": "41dde4f4b3c6d2eba46ae0e3c6cd595dbdb61466"
            },
            {
              "last_affected": "b41e0aaf1181f1a8cb200cf5a815aad7c0020d23"
            }
          ],
          "repo": "https://github.com/python-markdown/markdown",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {},
  "details": "Python-Markdown 3.0 through 3.11.2 contains an algorithmic complexity vulnerability in inline link parsing that allows remote attackers to exhaust CPU through unmatched brackets. Attackers can submit short Markdown containing repeated [ or ![ characters, forcing LinkInlineProcessor.getText() and getLink() into quadratic scans that keep workers busy for minutes.",
  "id": "CVE-2019-25781",
  "modified": "2026-11-10T02:30:51.980250050Z",
  "published": "2026-10-29T14:17:39.170Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/Python-Markdown/markdown/blob/b41e0aaf1181f1a8cb200cf5a815aad7c0020d23/markdown/inlinepatterns.py#L1155-L1172"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/python-markdown-3.0-through-3.11.2-denial-of-service-via-link-bracket-parsing"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/Python-Markdown/markdown/issues/1654"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/Python-Markdown/markdown/issues/798"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/Python-Markdown/markdown"
    }
  ],
  "severity": [
    {
      "score": "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/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",
      "type": "CVSS_V4"
    }
  ]
}