CVEfocus › CVE database › CVE-2026-67422

CVE-2026-67422pymdown-extensions: Exponential-backtracking ReDoS in caret, tilde, betterem, and…

CVSS 7.5 HighEPSS 0.6% (higher than 43% of CVEs)Published 2026-08-06Updated 2026-08-07Assigner: GitHub_M

pymdown-extensions is a collection of extensions for the Python Markdown library. In versions up to and including 11.0, four inline processors (caret, tilde, betterem, and magiclink) use regular expressions whose content groups can partition a run of delimiter characters in exponentially many ways, causing catastrophic backtracking. As a result, a single untrusted Markdown line under 50 bytes rendered with markdown.markdown() in each extension's default configuration drives the rendering thread into unbounded CPU usage that grows exponentially with input length, enabling an unauthenticated remote attacker who can submit Markdown to cause denial of service. The exposure is concrete for web applications that render user-supplied Markdown (comments, wikis, issue bodies, live preview), including any app using pymdownx.extra which bundles the vulnerable betterem default, as well as hosted docs/CI systems that build untrusted Markdown. The issue has been fixed in version 11.0.1.

CWE-1333

What to do

Fixed builds are available from Debian, PyPI: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
4Fix pending
3Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04markdownNot affected
vulnerable_code_not_present
Ubuntu 26.04pymdown-extensionsFix pendingUBUNTU-CVE-2026-67422
Ubuntu 24.04markdownNot affected
vulnerable_code_not_present
Ubuntu 24.04pymdown-extensionsFix pendingUBUNTU-CVE-2026-67422
Ubuntu 22.04markdownNot affected
vulnerable_code_not_present
Debian 14pymdown-extensionsFixed11.0.1-1DEBIAN-CVE-2026-67422
Debian 13pymdown-extensionsFix pendingDEBIAN-CVE-2026-67422
Debian 12pymdown-extensionsFix pendingDEBIAN-CVE-2026-67422
PyPI librarypymdown-extensionsFixed11.0.1GHSA-gm37-52c6-37mw

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.