Inefficient regular expression complexity in pymdown-extensions - CVE-2025-68142
Published: April 28, 2026
pymdown-extensions
Detailed vulnerability description
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to inefficient regular expression complexity in pymdownx.blocks.caption when processing unchecked user content. A remote attacker can supply a specially crafted input string to cause a denial of service.
The issue is triggered by a crafted payload that causes excessive processing time during figure caption parsing.