SB2026042868 - Inefficient regular expression complexity in pymdown-extensions



SB2026042868 - Inefficient regular expression complexity in pymdown-extensions

Published: April 28, 2026

Security Bulletin ID SB2026042868
Severity
Medium
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Remote access
Highest impact Denial of service

Breakdown by Severity

Medium 100%
  • 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.