# CVE-2026-121438: Mistune before 3.3.3 Denial of Service via Balanced Bracket Link Parsing

- Severity: Medium 6.9 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 34% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-03T14:28:29.879Z
- Modified: 2026-11-07T03:17:07.307Z
- Weaknesses: CWE-400
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- lepture mistune: before 3.3.3 (not affected: 3.3.3)

## Every score

- VulnCheck: CVSS:4.0 6.9 Medium `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`
- VulnCheck: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`

## References

- <https://github.com/lepture/mistune/security/advisories/GHSA-47p6-w2rc-5qf7> (exploit, vendor-advisory)
- <https://github.com/lepture/mistune/commit/fe02f40faf091f86da9ed62c865f31e11da111d7> (patch)
- <https://www.vulncheck.com/advisories/mistune-before-3.3.3-denial-of-service-via-balanced-bracket-link-parsing> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-121438](https://www.cve.org/CVERecord?id=CVE-2026-121438), CVE Terms of Use, modified 2026-11-07
- NVD: [CVE-2026-121438](https://nvd.nist.gov/vuln/detail/CVE-2026-121438), Public domain, modified 2026-11-07

---

Page: https://cve.day/CVE-2026-121438 · Whole record: https://cve.day/CVE-2026-121438.json · Rebuilt by cve.day 2026-11-25T22:59:48.461Z
