{"id":"CVE-2026-121438","state":"PUBLISHED","title":"Mistune before 3.3.3 Denial of Service via Balanced Bracket Link Parsing","description":"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.","publishedAt":"2026-11-03T14:28:29.879Z","updatedAt":"2026-11-07T03:02:22.098Z","severity":{"score":6.9,"label":"Medium","version":"4.0","vector":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["lepture mistune"],"affected":[{"vendor":"lepture","product":"mistune","packageURL":"pkg:pypi/mistune","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"3.3.3","versionType":"semver"},{"version":"3.3.3","status":"unaffected","versionType":"semver"}]}],"references":["https://github.com/lepture/mistune/security/advisories/GHSA-47p6-w2rc-5qf7","https://github.com/lepture/mistune/commit/fe02f40faf091f86da9ed62c865f31e11da111d7","https://www.vulncheck.com/advisories/mistune-before-3.3.3-denial-of-service-via-balanced-bracket-link-parsing"],"weaknesses":["CWE-400"],"ingestedAt":"2026-11-07T03:04:06.643Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/121xxx/CVE-2026-121438.json","commit":"6db29ba5f22fe99a209a451dacbc9c3beebf6007","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-121438","state":"PUBLISHED","datePublished":"2026-11-03T14:28:29.879Z","dateUpdated":"2026-11-07T03:02:22.098Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-11-03T12:32:14.752Z"},"containers":{"cna":{"title":"Mistune before 3.3.3 Denial of Service via Balanced Bracket Link Parsing","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"lepture","product":"mistune","packageURL":"pkg:pypi/mistune","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"3.3.3","versionType":"semver"},{"version":"3.3.3","status":"unaffected","versionType":"semver"}]}],"references":[{"url":"https://github.com/lepture/mistune/security/advisories/GHSA-47p6-w2rc-5qf7","tags":["vendor-advisory"],"name":"GitHub Security Advisory (GHSA-47p6-w2rc-5qf7)"},{"url":"https://github.com/lepture/mistune/commit/fe02f40faf091f86da9ed62c865f31e11da111d7","tags":["patch"],"name":"Patch Commit"},{"url":"https://www.vulncheck.com/advisories/mistune-before-3.3.3-denial-of-service-via-balanced-bracket-link-parsing","name":"VulnCheck Advisory: Mistune before 3.3.3 Denial of Service via Balanced Bracket Link Parsing","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"LOW","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":6.9,"baseSeverity":"MEDIUM"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"LOW","baseScore":5.3,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-400","lang":"en","description":"Uncontrolled Resource Consumption","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-11-03T14:28:29.879Z"},"datePublic":"2026-10-19T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:mistune_project:mistune:*:*:*:*:*:*:*:*","versionEndExcluding":"3.3.3"}]}]}],"credits":[{"lang":"en","value":"Str1ckl4nd","type":"reporter"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/lepture/mistune/security/advisories/GHSA-47p6-w2rc-5qf7","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-07T03:01:54.408797Z","id":"CVE-2026-121438","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-11-07T03:02:22.098Z"}}]}}}