SB2026042868 - Inefficient regular expression complexity in pymdown-extensions



SB2026042868 - Inefficient regular expression complexity in pymdown-extensions

Published: April 28, 2026

Security Bulletin ID SB2026042868
CSH Severity
Medium
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Remote access
Highest impact Partial DoS

Breakdown by Severity

Medium 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 1 vulnerability.


1) Inefficient regular expression complexity (CVE-ID: CVE-2025-68142)

CWE-ID: CWE-1333 - Inefficient Regular Expression Complexity

CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Green


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.