CVE-2022-34749Mistune Project Mistune
High 7.5 No auth needed
Follow: this CVE · Mistune Project · Mistune Project Mistune We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Mistune.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| mistune_project | mistune | ≤ 2.0.2 |
| fedoraproject | fedora | 37 |
Official advisories
- Red Hat Security Advisory: Red Hat Ceph Storage 8.1 security and bug fix update · Red Hat · RHSA-2026:2711 · Aug 5, 2026 High
- Red Hat Security Advisory: Red Hat Ceph Storage 7.1 security and bug fix updates · Red Hat · RHSA-2026:2769 · Apr 4, 2026 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Release Notes Third Party Advisory
- lists.fedoraproject.org