Inefficient regular expression complexity in pymdown-extensions - #VU162829
Published: November 9, 2026
Vulnerability details
The vulnerability allows an unauthenticated remote attacker to exhaust rendering workers and deny service in downstream applications using pymdown-extensions.
The vulnerability exists due to quadratic regular expression processing of crafted Markdown in explicitly enabled pymdownx.tilde or pymdownx.caret extensions using default smart processing. An unauthenticated remote attacker can submit repeated requests containing crafted delimiter sequences to services synchronously rendering untrusted Markdown without input-size or rendering-time limits, consuming excessive CPU.