Inefficient regular expression complexity in pymdown-extensions - CVE-2026-67422
Published: August 3, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to inefficient regular expression complexity in the caret, tilde, betterem, and magiclink inline processors when rendering untrusted Markdown input through the public API in the default configuration. A remote attacker can submit a specially crafted Markdown line to cause a denial of service.
A single untrusted Markdown line under 50 bytes can drive the rendering thread into unbounded CPU usage.