cve.bz

CVE-2022-34749

7.5 highEPSS 1.6%Fix available

High (7.5). EPSS 1.6% estimated probability of exploitation activity in the next 30 days. Fixed in mistune 2.0.3.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
1.6% (unchanged from 1.6% a week ago; 1.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 77th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-1333 Inefficient Regular Expression Complexity
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-34749 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-34749?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-34749?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-34749 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
mistune_project:mistunethrough 2.0.2
fedoraproject:fedora37

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-fw3v-x4f2-v673PyPImistune>=2.0.0a1 <2.0.32.0.3
PYSEC-2022-237PyPImistune>=2.0.0a1 <2.0.32.0.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14mistune2.0.3-1DEBIAN-CVE-2022-34749
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 1 moremistuneno fix listedUBUNTU-CVE-2022-34749
Red Hatceph_storage:7.1::el8ceph, librbd1, librgw2 and 51 more2:18.2.1-381.el8cpRHSA-2026:2769
Red Hatceph_storage:7.1::el9ceph, cephadm, librbd1 and 53 more2:18.2.1-381.el9cpRHSA-2026:2769
Red Hatceph_storage:8.1::el9ceph, cephadm, librbd1 and 56 more2:19.2.1-331.el9cpRHSA-2026:2711
Red Hatceph_storage:8.1::el9thrift, thrift-qt, perl-thrift and 9 more0:0.20.0-4.el9cpRHSA-2026:2711
openSUSETumbleweedpython-mistune3.1.0-1.1openSUSE-SU-2025:14637-1
Alpinev3.16, v3.17, v3.18 and 6 morepy3-mistune2.0.3-r0ALPINE-CVE-2022-34749
Azure Linux2python-mistune0.8.3-5AZL-10403

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is rated as Moderate impact because successful exploitation results in application denial of service through excessive CPU resource consumption, without compromising system confidentiality or data integrity. In Red Hat environments, the mistune library is utilized by integrated platform services to render Markdown content, making exposure contingent on applications processing untrusted user-supplied markup. The resulting disruption is confined to the specific worker process parsing the input and does not permit privilege escalation or remote code execution.

ProductPackageStateAdvisory
Red Hat Ceph Storage 7.1ceph-2:18.2.1-381.el8cpFixed 2026-02-17RHSA-2026:2769
Red Hat Ceph Storage 8.1ceph-2:19.2.1-331.el9cpFixed 2026-02-16RHSA-2026:2711
Red Hat Ceph Storage 8rhceph/rhceph-8-rhel9:1770630907Fixed 2026-02-16RHSA-2026:2737
Red Hat Ceph Storage 6python-mistuneWill not fix
Red Hat OpenShift Container Platform 4python-mistuneAffected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-34749.

Attack patterns (CAPEC)

  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON