Live threats

All CVEs / Mistune Project

CVE-2022-34749Mistune Project Mistune

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.6%
probability of exploitation in 30 days · percentile 76
Auth required
No
Published
Jul 25, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-1333
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

In mistune through 2.0.2, support of inline markup is implemented by using regular expressions that can involve a high amount of backtracking on certain edge cases. This behavior is commonly named catastrophic backtracking.

Original NVD text.

What to do

  1. Apply the vendor's security update for Mistune.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI mistune ≥ 2.0.0a1 < 2.0.3 2.0.3 pip install "mistune>=2.0.3"
PyPI mistune ≥ 2.0.0a1 < 2.0.3 2.0.3 pip install "mistune>=2.0.3"

Per OSV / GitHub Advisories (GHSA-fw3v-x4f2-v673, PYSEC-2022-237). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
mistune_projectmistune≤ 2.0.2
fedoraprojectfedora37

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.