{"id":"CVE-2026-59928","published":"2026-07-08T16:23:21Z","modified":"2026-07-08T19:40:43Z","title":"Mistune block_parser: quadratic-time parsing on long lists of repeated reference-link definitions","vendor":"lepture","product":"mistune","tier":"tail","description":{"text":"Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.3.0, a Markdown document containing many repeated or distinct reference-link definitions causes quadratic work in src/mistune/block_parser.py and the ref_links environment dictionary handling, allowing denial of service through CPU exhaustion. This issue is fixed in version 3.3.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00651,"percentile":0.52138,"provenance":"source"},"cwes":[{"id":"CWE-407","name":"Inefficient Algorithmic Complexity"},{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"references":[{"url":"https://github.com/lepture/mistune/security/advisories/GHSA-ffq3-xpv3-j92q","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/lepture/mistune/commit/2b04d7ba341c16ac78fe82d3076bdd5c3de87c69","tags":["x_refsource_MISC"]},{"url":"https://github.com/lepture/mistune/releases/tag/v3.3.0","tags":["x_refsource_MISC"]}],"priority":{"score":15.7,"factors":[{"name":"EPSS percentile","points":10.43},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"lepture","affectedVersions":[{"vendor":"lepture","product":"mistune","versions":["< 3.3.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-07-08T17:46:13.539153Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"mistune","vulnerableRanges":["<3.3.0"],"patched":["3.3.0"],"from":["GHSA-ffq3-xpv3-j92q","PYSEC-2026-2216"],"provenance":"source"}],"summary":{"text":"Mistune, a Python Markdown parser, contains a flaw in its block parser (src/mistune/block_parser.py) and its ref_links environment dictionary handling, where a document with many repeated or distinct reference-link definitions triggers quadratic-time processing.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:27:45Z"},"euvd":{"id":"EUVD-2026-42338","exploited":false,"provenance":"source"}}