CVE catalog

CVE-2026-67422

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 expre

[CVE catalog]

Severity
High · CVSS 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.61% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianpymdown-extensionssid11.0.1-1fixed
Debianpymdown-extensionsforky11.0.1-1fixed
Debianpymdown-extensionstrixie10.13-1+deb13u1vulnerable
Debianpymdown-extensionsbookworm9.5-2vulnerable
Pippymdown-extensionsNot reported11.0.1fixed
Ubuntupymdown-extensions24.049.5-2vulnerable
Ubuntupymdown-extensions24.049.5-4vulnerable
Ubuntupymdown-extensions24.049.5-5vulnerable
Ubuntupymdown-extensions26.0410.13-3vulnerable
Ubuntupymdown-extensions26.0410.13-4vulnerable
Ubuntupymdown-extensions26.0410.19.1-3vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpymdown-extensionssourcesid11.0.1-1not yet assignedNot reportedNot reported
Debianpymdown-extensionssourceforky11.0.1-1not yet assignedNot reportedNot reported
Debianpymdown-extensionssourcetrixie(unfixed)not yet assignedNot reportedNot reported
Debianpymdown-extensionssourcebookworm(unfixed)not yet assignedNot reportedNot reported
Pippymdown-extensionspipNot reported11.0.1Not reportedNot reportedNot reported

Notes

[trixie] pymdown-extensions: Minor issue [bookworm] pymdown-extensions: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [pymdown-extensions]

    Details (2)
    • 9.5-2 · all · bookworm

      Affected

      nvd · pymdown-extensions · debian · bookworm; nvd · pymdown-extensions · debian · 12

    • 9.5-2 · all · bookworm

      Affected

      nvd · pymdown-extensions · debian · bookworm; nvd · pymdown-extensions · debian · 12

[Debian 13 (Trixie)]

  • Source package: [pymdown-extensions]

    Details (2)
    • 10.13-1+deb13u1 · all · trixie

      Affected

      nvd · pymdown-extensions · debian · 13

    • 10.13-1+deb13u1 · all · trixie

      Affected

      nvd · pymdown-extensions · debian · 13

Observed:

References