CVE catalog

CVE-2026-121438

mistune affected and fixed versions

[CVE catalog]

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.9CVSS: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 / releasePackageVersionStatusSource
Opensusetumbleweedpython-mistune3.4.0-3.1Fixed[OPENSUSE-SU-2026:12476-1]
Debiansidmistune3.3.4-1FixedDistribution-reported fixed boundary[CVE-2026-121438]
Debiansidmistune3.4.0-1Fixed[CVE-2026-121438]
Debianforkymistune3.3.4-1FixedDistribution-reported fixed boundary[CVE-2026-121438]
Debianforkymistune3.4.0-1Fixed[CVE-2026-121438]
More observations (20)
Distribution / releasePackageVersionStatusSource
DebianbookwormmistuneNot reportedAffectedDistribution reports no fix[CVE-2026-121438]
Debianbookwormmistune2.0.4-1Affected[CVE-2026-121438]
DebiantrixiemistuneNot reportedAffectedDistribution reports no fix[CVE-2026-121438]
Debiantrixiemistune3.1.3-1Affected[CVE-2026-121438]
Ubuntu16.04mistune0.6-2Affected[UBUNTU-CVE-2026-121438]
Ubuntu16.04mistune0.7.1-1Affected[UBUNTU-CVE-2026-121438]
Ubuntu18.04mistune0.7.4-1Affected[UBUNTU-CVE-2026-121438]
Ubuntu18.04mistune0.8-1Affected[UBUNTU-CVE-2026-121438]
Ubuntu18.04mistune0.8.1-1Affected[UBUNTU-CVE-2026-121438]
Ubuntu18.04mistune0.8.3-2Affected[UBUNTU-CVE-2026-121438]
Ubuntu20.04mistune0.8.4-1Affected[UBUNTU-CVE-2026-121438]
Ubuntu20.04mistune0.8.4-2Affected[UBUNTU-CVE-2026-121438]
Ubuntu22.04mistune0.8.4-4Affected[UBUNTU-CVE-2026-121438]
Ubuntu22.04mistune0.8.4-5Affected[UBUNTU-CVE-2026-121438]
Ubuntu22.04mistune2.0.0-1+really0.8.4-1Affected[UBUNTU-CVE-2026-121438]
Ubuntu24.04mistune2.0.4-2Affected[UBUNTU-CVE-2026-121438]
Ubuntu24.04mistune3.0.2-1Affected[UBUNTU-CVE-2026-121438]
Ubuntu26.04mistune3.1.3-1Affected[UBUNTU-CVE-2026-121438]
Ubuntu26.04mistune3.1.4-1Affected[UBUNTU-CVE-2026-121438]
Ubuntu26.10mistune3.1.4-1Affected[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 · bookworm

      Affected

      dsa · mistune · debian · bookworm; pypi · mistune · debian · 12

    • 2.0.4-1 · all · bookworm

      Affected

      dsa · mistune · debian · bookworm; pypi · mistune · debian · 12

[Debian 13 (Trixie)]

  • [python3-mistune]Affected

    Source package: [mistune]

    Details (2)
    • 3.1.3-1 · all · trixie

      Affected

      pypi · mistune · debian · 13

    • 3.1.3-1 · all · trixie

      Affected

      pypi · mistune · debian · 13

[openSUSE Tumbleweed]

  • Source package: [python-mistune]

    Details (1)
    • 3.3.4-1.1 · noarch · tumbleweed

      Unknown · Fixed: 3.4.0-3.1

      Version impact unknown

      pypi · python-mistune · opensuse · tumbleweed

  • Source package: [python-mistune]

    Details (1)
    • 3.3.4-1.1 · noarch · tumbleweed

      Unknown · Fixed: 3.4.0-3.1

      Version impact unknown

      pypi · python-mistune · opensuse · tumbleweed

Observed:

References