
CVE catalog
CVE-2026-121438
mistune affected and fixed versions
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.
- Severity
- Medium · CVSS 6.9
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/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 - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.29% · Nov 19, 2026
Projects and upstream resources
Reported versions and fixes
Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| Opensusetumbleweed | python-mistune | 3.4.0-3.1 | Fixed | [OPENSUSE-SU-2026:12476-1] |
| Debiansid | mistune | 3.3.4-1 | FixedDistribution-reported fixed boundary | [CVE-2026-121438] |
| Debiansid | mistune | 3.4.0-1 | Fixed | [CVE-2026-121438] |
| Debianforky | mistune | 3.3.4-1 | FixedDistribution-reported fixed boundary | [CVE-2026-121438] |
| Debianforky | mistune | 3.4.0-1 | Fixed | [CVE-2026-121438] |
More observations (20)
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| Debianbookworm | mistune | Not reported | AffectedDistribution reports no fix | [CVE-2026-121438] |
| Debianbookworm | mistune | 2.0.4-1 | Affected | [CVE-2026-121438] |
| Debiantrixie | mistune | Not reported | AffectedDistribution reports no fix | [CVE-2026-121438] |
| Debiantrixie | mistune | 3.1.3-1 | Affected | [CVE-2026-121438] |
| Ubuntu16.04 | mistune | 0.6-2 | Affected | [UBUNTU-CVE-2026-121438] |
| Ubuntu16.04 | mistune | 0.7.1-1 | Affected | [UBUNTU-CVE-2026-121438] |
| Ubuntu18.04 | mistune | 0.7.4-1 | Affected | [UBUNTU-CVE-2026-121438] |
| Ubuntu18.04 | mistune | 0.8-1 | Affected | [UBUNTU-CVE-2026-121438] |
| Ubuntu18.04 | mistune | 0.8.1-1 | Affected | [UBUNTU-CVE-2026-121438] |
| Ubuntu18.04 | mistune | 0.8.3-2 | Affected | [UBUNTU-CVE-2026-121438] |
| Ubuntu20.04 | mistune | 0.8.4-1 | Affected | [UBUNTU-CVE-2026-121438] |
| Ubuntu20.04 | mistune | 0.8.4-2 | Affected | [UBUNTU-CVE-2026-121438] |
| Ubuntu22.04 | mistune | 0.8.4-4 | Affected | [UBUNTU-CVE-2026-121438] |
| Ubuntu22.04 | mistune | 0.8.4-5 | Affected | [UBUNTU-CVE-2026-121438] |
| Ubuntu22.04 | mistune | 2.0.0-1+really0.8.4-1 | Affected | [UBUNTU-CVE-2026-121438] |
| Ubuntu24.04 | mistune | 2.0.4-2 | Affected | [UBUNTU-CVE-2026-121438] |
| Ubuntu24.04 | mistune | 3.0.2-1 | Affected | [UBUNTU-CVE-2026-121438] |
| Ubuntu26.04 | mistune | 3.1.3-1 | Affected | [UBUNTU-CVE-2026-121438] |
| Ubuntu26.04 | mistune | 3.1.4-1 | Affected | [UBUNTU-CVE-2026-121438] |
| Ubuntu26.10 | mistune | 3.1.4-1 | Affected | [UBUNTU-CVE-2026-121438] |
Publisher notes
[trixie] mistune: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [python3-mistune]Affected
Source package: [mistune]
Details (2)
2.0.4-1· all · bookwormAffected
dsa · mistune · debian · bookworm; pypi · mistune · debian · 12
2.0.4-1· all · bookwormAffected
dsa · mistune · debian · bookworm; pypi · mistune · debian · 12
[Debian 13 (Trixie)]
- [python3-mistune]Affected
Source package: [mistune]
Details (2)
3.1.3-1· all · trixieAffected
pypi · mistune · debian · 13
3.1.3-1· all · trixieAffected
pypi · mistune · debian · 13
[openSUSE Tumbleweed]
- [python313-mistune]Unknown
Source package: [python-mistune]
Details (1)
3.3.4-1.1· noarch · tumbleweedUnknown · Fixed:
3.4.0-3.1Version impact unknown
pypi · python-mistune · opensuse · tumbleweed
- [python314-mistune]Unknown
Source package: [python-mistune]
Details (1)
3.3.4-1.1· noarch · tumbleweedUnknown · Fixed:
3.4.0-3.1Version impact unknown
pypi · python-mistune · opensuse · tumbleweed
Observed:
References
- [https://ftp.suse.com/pub/projects/security/]
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_12476-1.json]
- [https://github.com/lepture/mistune/commit/fe02f40faf091f86da9ed62c865f31e11da111d7]
- [https://github.com/lepture/mistune/security/advisories/GHSA-47p6-w2rc-5qf7]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-121438]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-121438]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-121438]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:12476-1]
- [https://security-tracker.debian.org/tracker/CVE-2026-121438]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-121438.json]
- [https://www.vulncheck.com/advisories/mistune-before-3.3.3-denial-of-service-via-balanced-bracket-link-parsing]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]