ADVISORIES

Vulnerability

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 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.

10 advisories report this vulnerability, across 7 ecosystems.

Advisories

  • CGA-7x9v-983m-44w5
    CVE-2026-67422 ChainguardWolfi Updated 5 November 2026
  • CGA-jmqf-mpf9-mw2r
    CVE-2026-67422 ChainguardWolfi Updated 5 November 2026
  • DEBIAN-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 expressions whose…

    CVE-2026-67422 Debian Updated 25 October 2026
  • FEDORA-2026-f3f8679e02

    python-pymdown-extensions-12.3-2.fc44

    Important CVE-2026-61632CVE-2026-67422 Fedora Updated 17 November 2026
  • GHSA-gm37-52c6-37mw

    pymdown-extensions: exponential-backtracking ReDoS in caret, tilde, betterem, and magiclink inline processors

    High CVE-2026-67422 PyPI Updated 10 September 2026
  • OESA-2026-4182

    python-pymdown-extensions security update

    High CVE-2026-46338CVE-2026-61632CVE-2026-67422 openEuler Updated 1 October 2026
  • OESA-2026-4183

    python-pymdown-extensions security update

    High CVE-2026-46338CVE-2026-61632CVE-2026-67422 openEuler Updated 1 October 2026
  • OESA-2026-4184

    python-pymdown-extensions security update

    High CVE-2026-46338CVE-2026-61632CVE-2026-67422 openEuler Updated 1 October 2026
  • PYSEC-2026-3654

    pymdown-extensions: exponential-backtracking ReDoS in caret, tilde, betterem, and magiclink inline processors

    CVE-2026-67422 PyPI Updated 10 August 2026
  • UBUNTU-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 expressions whose…

    CVE-2026-67422 Ubuntu Updated 25 August 2026

References