SB2026042868 - Inefficient regular expression complexity in pymdown-extensions
Published: April 28, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 security vulnerability.
1) Inefficient regular expression complexity (CVE-ID: CVE-2025-68142)
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.
Remediation
Install update from vendor's website.